XJTU_Python/test/5/4.py

7 lines
151 B
Python

s = input()
for i in s:
if (ord(i) >= ord('a') and ord(i) <= ord('z')):
print(chr(ord(i) - 32), end="")
else:
print(i, end="")