+ 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)

8th Jul 2021, 1:24 PM
Cory Peitsch
Cory Peitsch - avatar
5 ответов
- 2
print (input().lower())
8th Jul 2021, 2:29 PM
Sâñtôsh
Sâñtôsh - avatar
+ 2
x = str(input()) print(x.lower())
9th Aug 2022, 1:20 PM
Abdul Ghafar
Abdul Ghafar - avatar
+ 1
Last line should be print(text.lower()) That's because lower is a method (a function)
8th Jul 2021, 1:29 PM
Angelo
Angelo - avatar
+ 1
Thank you!
8th Jul 2021, 1:30 PM
Cory Peitsch
Cory Peitsch - avatar
0
msg = str(input()) print(msg.lower())
16th May 2022, 8:58 AM
Junior Jackson
Junior Jackson - avatar