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

IT Exam Items RepositoryCategory: 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!

Related exam: Quiz - Foundational Network Programmability Concepts