Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ChatBotGroup/Age.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13 lines (13 sloc)
525 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userAge = input("How old are you?: ") | |
userNumber = int(userAge) | |
if userNumber < 0: | |
print("That's not possible!") | |
elif userNumber < 50: | |
print("Well, you are young, you have plenty of time to do anything you want, that's great, isn't it?") | |
elif userNumber < 100: | |
print("You have very big knowledge about everything and anything.") | |
elif userNumber < 120: | |
print("I don't know what to say, that is incredible.") | |
else: | |
print("Hmm, i think you lying ") | |
print("Next year you will be " + str(int(userNumber) + 1)) |