repl.it
@mralam4769/

Y8 Speeding camera if elif else

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
#Speeding Program

speed = int(input("Enter driver's speed: "))

if speed > 75:
  print("Issue speeding fine")
elif speed > 70:
  print("Issue a warning")
else:
  print("No warning or fine")