Oct-23-2023, 10:00 AM
(This post was last modified: Oct-23-2023, 11:00 AM by Gribouillis.)
Hi,
Is use of the code below accurate? I believe it is not however, my friend tells me it is.
Is use of the code below accurate? I believe it is not however, my friend tells me it is.
1 2 3 4 5 6 7 8 9 10 11 12 |
age = int ( input ( "Enter your age: " )) if 21 <age< = 25 : money = 125 elif 21 <age : money = 100 else : money = 250 print (money) |