A student is learning Python. What is the output of the print function?

IT Questions BankCategory: CCNPA student is learning Python. What is the output of the print function?

A student is learning Python. What is the output of the print function?

user_string1 = \"Good\" user_string2 = \"Morning! \" print (user_string2 * 3)

  • Good Morning!
  • Good Morning! Good Morning! Good Morning!
  • Morning! Morning! Morning!
  • Good Morning! Morning! Morning!

Explanation: The print() function with the *3 multiplier would create one large string of Morning! Morning! Morning!

Exam with this question: Quiz - Foundational Network Programmability Concepts

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments