A student new to Python is working in the interactive interpreter mode. The student issues the command: Which Python expression can be used to retrieve the IP address of R2?

IT Questions BankCategory: DevNetA student new to Python is working in the interactive interpreter mode. The student issues the command: Which Python expression can be used to retrieve the IP address of R2?

Question:
A student new to Python is working in the interactive interpreter mode. The student issues the command:

Which Python expression can be used to retrieve the IP address of R2?

  • ipAddress{'R2'}
  • ipAddress['R2']
  • ipAddress[R2]
  • ipAddress{"R2"}

Exam with this question: DevNet Associate (v1.0) – Module 1 Exam Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments