Which line of code returns a copy of the string “bmoreno” as “BMORENO”?

Automate Cybersecurity Tasks with Python | Weekly challenge 3 Quiz | 

Which line of code returns a copy of the string “bmoreno” as “BMORENO”?

  • print(“bmoreno”(upper))
  • print(upper(“bmoreno”))
  • print(“bmoreno”.upper())
  • print(upper.”bmoreno”())

 

Leave a Comment