Notes/ML/ExerciseNameValidation-200808-183418.py

10 lines
163 B
Python

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")