Notes/ML/ExerciseNameValidation-200808-183418.py

10 lines
163 B
Python
Raw Normal View History

2022-04-23 14:04:50 +00:00
full_name='Ra'
if len(full_name)<3:
print("Name is too short")
elif len(full_name) > 50:
print("Name is very long")
else:
print("Name is validated")