q = 'quit'
ft = 'feet'
inc = 'inches'
yrds = 'yards'
x = input("What is the measurement type? Use inc, yrds or, ft. if you wish to quit, type q.")
if(x== 'quit'):
print("Thankyou for useing this software")
quit
if(x=='feet'):
ft=input("What distance in feet?")
x = input("Convert feet into what? Use yrds, or inc")
if(x=='inches'):
print 'your conversion of feet to inches is:', ft/12, \
quit
if(x=='yards'):
print'your conversion of feet to yards is:', t*0.33333333, \
quit
if(x=='inches'):
inc = input("What distance in inches?")
x = input("Convert into what? Use ft, or yrds")
if(x=='yards'):
print 'your conversion of inches to yards is:', inc/36,
if(x=='feet'):
print 'Your conversion of inches to feet is:', inc/12, \
execfile
if(x=='yards'):
yrds = input('What distance in yards?')
x = input("What is your conversion type? Use inc or, ft.")
if(x=='feet'):
print 'your conversion of yards to feet is:', yrds/0.33333333, \
if(x=='inches'):
print "Your conversion of yards to inches is", yrds*36, \
This is using python just so you know.

New Topic/Question
Reply



MultiQuote





|