17 Nov python
volume = int(input())
if volume >= 120:
carClass = “Large”
elif volume < 120:
carClass = “Mid-Size”
elif volume < 110:
carClass = “Compact”
elif volume < 100:
carClass = “Subcompact”
else
carClass = “Minicompact”
print(carClass)
import easygui
choice = easygui.buttonbox(“which hero do you like the most?”,
choices=[‘archer’,’pekka’,’witch’])
if choice == ‘archer’:
easygui.msgbox(image = ‘archer.gif’)
if choice == ‘pekka’:
easygui.msgbox(image = ‘pekka.gif’)
if choice == ‘witch’:
easygui.msgbox(image = ‘witch.gif’)
Sorry, the comment form is closed at this time.