5th day of python challenges 80-87

This commit is contained in:
abd.shallal
2019-07-22 15:22:11 +03:00
parent 6a11f68f12
commit d4902e6ad1
10 changed files with 196 additions and 49 deletions

View File

@@ -0,0 +1,8 @@
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)