Skip to content

Instantly share code, notes, and snippets.

View adiP66's full-sized avatar

Aditya Parkhe adiP66

View GitHub Profile
### Practical 2 : Implementation Of Simple Rule Based Decision
System
fine = 0
speed_limit = 60
speed = int(input("Enter vehicle speed: "))
vehicle_type = input("Enter vehicle type (2-wheeler/car): ").lower()
helmet = input("Helmet worn? (yes/no): ").lower()
seatbelt = input("Seatbelt worn? (yes/no): ").lower()
signal_jump = input("Signal jumped? (yes/no): ").lower()