python-by-example-150-chall.../challenges80-87/challenge-083.py
2019-07-22 15:22:11 +03:00

9 lines
263 B
Python

string = str(input('Please enter word in upper case ? '))
is_upper = False
while not is_upper:
if string.isupper():
is_upper = True
else:
string = str(input('Sorry not all in upper case, please enter word in upper case ? '))
print(string)