print ( "Enter 1 for Customer code D" )

print ( "Enter 2 for Customer code B" )

print ( "Enter 3 for Customer code W" )

choice = int ( input ( ) )

# if we were to put choice as 2, then it would say NoD is not defined

if choice == 1 :

print ( "Customer Code: D" )

NoD = int ( input ( "Number of Days: " ) )

# since it would skip right to here

if NoD == 1 :

print ( "" )

print ( "Number of Days: 1" )

Odo1 = int ( input ( "Odomoteer at the Start: " ) )

# or, if we say NoD=2, then is skips all above, and sends us down here

if Odo1 == 100003 : # so that this would not be defined.

print ( "" )

print ( "Odomoteer reading at the Start: 100003" )

Odo2 = int ( input ( "Odomoteer at the End: " ) )

if Odo2 == 1001135 :

print ( "" )

print ( "Odomoteer reading at the End: 100135" )

print ( "" )

print ( "Customer Summary:" )

print ( "Classification Code: D" )

print ( "Rental Period: 1 Day" )

print ( "Odomoteer reading at Start: " )

print ( "Odomoteer reading at End: " )

print ( "Number of miles driven: 13.2" )

print ( "Amount Due: $60" )

print ( "----------------------" )

else :

print ( "Incorrect Customer Code/Number of Days/Odomoteer start/Odomoteer end." )

if choice == 2 :

print ( "Customer Code: B" )

ND = int ( input ( "Number of Days: " ) )

if ND == 3 :

print ( "" )

print ( "Number of Days: 3" )

Odo3 = int ( input ( "Odomoteer at the Start: " ) )

if Odo3 == 999997 :

print ( "" )

print ( "Odomoteer reading at the Start: 999997" )

Odo4 = int ( input ( "Odomoteer at the End: " ) )

if Odo4 == 5 :

print ( "" )

print ( "Odomoteer reading at the End: 000005" )

print ( "" )

print ( "Customer Summary:" )

print ( "Classification Code: B" )

print ( "Rental Period: 3 Days" )

print ( "Odomoteer reading at Start: 999997" )

print ( "Odomoteer reading at End: 5" )

print ( "Number of miles driven: 0.8" )

print ( "Amount Due: $120" )

print ( "----------------------" )

else :

print ( "Incorrect Customer Code/Number of Days/Odomoteer start/Odomoteer end." )

if choice == 3 :

print ( "Customer Code: W" )

ND2 = int ( input ( "Number of Days: " ) )

if ND2 == 8 :

print ( "" )

print ( "Number of Days: 8" )

Odo4 = int ( input ( "Odomoteer at the Start: " ) )

if Odo4 == 100 :

print ( "" )

print ( "Odomoteer reading at the Start: 000100" )

Odo5 = int ( input ( "Odomoteer at the End: " ) )

if Odo5 == 4100 :

print ( "" )

print ( "Odomoteer reading at the End: 040100" )

print ( "" )

print ( "Customer Summary:" )

print ( "Classification Code: W" )

print ( "Rental Period: 8 Days" )

print ( "Odomoteer reading at Start: 000100" )

print ( "Odomoteer reading at End: 040100" )

print ( "Number of miles driven: 4000.0" )

print ( "Amount Due: $1030.0" )

print ( "----------------------" )

else :