Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Measurement
#5
How that can ever be tested?

int(Input(" Enter the number of ounces of apple cider they want to purchase")
print( "drams =(1/8 *32 *8")
print("gills =("1/8 *32 *8")
if result > 1024 :
print("The amount they want is too large and they will need to purchase their cider in gallons.")
elif result <100 :
print("The amount they want is too small and perhaps they should just order a pint.")
else:
print("the number of gills and drams.")
Reply


Messages In This Thread
Measurement - by thyva - Jan-27-2017, 12:56 AM
RE: Measurement - by micseydel - Jan-27-2017, 01:06 AM
RE: Measurement - by thyva - Jan-27-2017, 01:23 AM
RE: Measurement - by micseydel - Jan-27-2017, 01:26 AM
RE: Measurement - by thyva - Jan-27-2017, 02:58 AM
RE: Measurement - by wavic - Jan-27-2017, 06:17 AM
RE: Measurement - by sparkz_alot - Jan-27-2017, 03:38 PM
RE: Measurement - by deanhystad - Jun-09-2022, 02:48 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020