Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
name = input("Enter your name: ")
greeting = f"Hello, {name}"
print(greeting)
age = int(input("How old are you? "))
over_18 = age >= 18
under_60 = age <= 60
ligal = over_18 and not under_60
print(ligal)
less_ligal = over_18 or under_60
print(less_ligal)