0
Conditional statement - what did I do wrong
if rentalCode == "B" or rentalCode == "D": rentalPeriod = int(input("Number of Days Rented:\n") elif rentalCode == "W": rentalPeriod = int(input("Number of Weeks Rented:\n")
3 Respostas
+ 1
You have missing parentheses on reading input for <rentalPeriod>
rentalPeriod = int(input(...)) # <- missing ')'
+ 1
Wow... Spot on. Thank you so much. 🌺🌼🌷
0
No problem BTDT 😁 👌