+ 1
39.2 Shouting Text
Not sure why this isn't working: Python for Beginners 39.2 Shouting Text Your friend is sending you a text message, however his caps lock is broken and the whole message is in uppercase. Noone likes being shouted at, plus uppercase text is hard to read, so you decide to write a program to convert the text to lowercase and output it. Take a string as input and output it in lowercase. #your code goes here text = input(str()) print(text.lower)
5 Respostas
- 2
print (input().lower())
+ 2
x = str(input())
print(x.lower())
+ 1
Last line should be print(text.lower())
That's because lower is a method (a function)
+ 1
Thank you!
0
msg = str(input())
print(msg.lower())