5th day of python challenges 80-87
This commit is contained in:
8
challenges80-87/challenge-083.py
Normal file
8
challenges80-87/challenge-083.py
Normal 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)
|
Reference in New Issue
Block a user