@ArtemPionov/

test.exe

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
from termcolor import colored
age= int(input(colored("How old are you chav","blue")))
if age >= 18:
  print(colored("What can I get you?", "green"))
elif age <=18:
  print(colored("Go home chav", "red"))
else:
  print(colored("Can I have chips?","blue"))
chips=int(input(colored("How many packets of chips?","blue","on_white")))
if chips == 0:
  print(colored("Then go home chav","red","on_white"))
elif chips >=1:
  print(colored("Sure, here!","blue","on_white"))
else:
  print(colored("Go home chav","red","on_white"))