I am learning programming language by my own from (CEMC Python from scratch) and this is my first programming language. I spend more than 3 hour to solve this PROBLEM. Please help to solve this so I can get to know what I was doing wrong.
# python 2.x
>>>text = raw_input()
# python 3.x
>>>text = input()
>>>print(text.upper())
# script.py
string = input("write a string ")
print(string.upper())
I tested it on python and it works :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.