Skip to content

This simple Chatty Bot tests the knowledge of the EVA Pilots, greets them, guesses their age, and is able to count to any number input by the pilot.

Notifications You must be signed in to change notification settings

Rodesgo/Evangelion-Chatty-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Evangelion Chatty Bot

def greet(bot_name, birth_year): print('Hello! My name is ' + bot_name + '.') print('I was created in ' + birth_year + '.')

def remind_name(): print('Please, remind me your name.') name = input() print('What a great name you have, ' + name + '!')

def guess_age(): print('Let me guess your age.') print('Enter remainders of dividing your age by 3, 5 and 7.')

rem3 = int(input())
rem5 = int(input())
rem7 = int(input())
age = (rem3 * 70 + rem5 * 21 + rem7 * 15) % 105

print("Your age is " + str(age) + "; that's a good time to start programming!")

def count(): print('Now I will prove to you that I can count to any number you want.')

num = int(input())
curr = 0
while curr <= num:
    print(curr, '!')
    curr = curr + 1

def test(): print("Let's test your knowledge.") print("""Why do you pilot the EVAs? 1. Huh? 2. To protect Adam. 3. Lilith is there, bro. 4. Baka Shinji, lol.""") while True: answer = int(input()) if answer != 2: print("Please, try again.") else: print("Correct answer.") break

def end(): print('Congratulations, tell Gendo I love him!')

greet('MAGI', '2021') remind_name() guess_age() count() test() end()

About

This simple Chatty Bot tests the knowledge of the EVA Pilots, greets them, guesses their age, and is able to count to any number input by the pilot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published