repl.it
@dcbriccetti/

conditions

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name = input('What is your name? ').lower()
if name == 'dave':
  print('You are doing fine')
elif name == 'kai':
  print('You came from New York')
else:
  print("Sorry, I don't know you")

feeling = input('How are you feeling? ')
happy_words = 'fine good peppy happy amused great'.split(' ')
if feeling in happy_words:
  print('So glad to hear that!')
else:
  print('Oh, too bad')
Fetching token
?