October 25th, 2013, 10:53 AM
Minor issue needing help please
This code works fine, however i think i need to import something because when i input a whole number it works fine,
However when entering a number with a decimal it does not like it.
any ideas what i am missing please?
print 'Please check the temprature of the vat substance'
temprature=int(raw_input('Enter the tepmrature of vat substance in degrees Celcuis\n'
print 'Tempreture Prefect'
print 'Return to check again in 15 minutes'
print 'Temprature is to high!!'
print 'Please lower thermostat'
print 'Wait 5 minutes, and check again'
restart=input('To restart programme type "1 and press Enter" to exit type "2 and press Enter"\n'
October 25th, 2013, 11:32 AM
Sorted it myself should have been: