python-by-example-150-chall.../challenges20-26/challenge-025.py
2019-07-17 09:56:46 +03:00

8 lines
232 B
Python

first_name = str(input('Enter your first name : '))
if len(first_name) < 5:
surname = str(input('Enter your surname : '))
compact = first_name.upper() + surname.upper()
print(compact)
else:
print(first_name.lower())