Luogu Question Writing Python Language | P5704 Letter Conversion

Learn Python from a young age! Record the questions in the Luogu Python learning and exam preparation process, and record every moment.

Attached is a summary post: Luogu’s Python language | Summary_Blog of a communicator who loves programming-CSDN Blog


【Description】

Enter a lowercase letter and output its corresponding uppercase letter. For example, when q[Enter] is entered, Q will be output.

【enter】

none

【Output】

none

【Input example】

q

【Example of output】

Q

【Code Explanation】

xiao = input() 
print(xiao.upper()) 

【operation result】

q
Q

Guess you like

Origin blog.csdn.net/guolianggsta/article/details/132746237