Inactive Tutor answered 02/19/23
Tutor
New to Wyzant
#initialize variable
hello_str = "hello python"
#use the .upper() method to convert it and print() to output the result
print(hello_str.upper())
Bryce H.
asked 02/19/23Initialize a string variable to “hello python” and print it out in all uppercase using a string function.
Inactive Tutor answered 02/19/23
#initialize variable
hello_str = "hello python"
#use the .upper() method to convert it and print() to output the result
print(hello_str.upper())
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.