I need help
print('Welcome to Should I Recycle This! (enter to continue)')
funnieasteregghaha = input()
if funnieasteregghaha == 'hello there':
print('General Kenobi')
print('Lets get started! Iʹll ask you some questions')
print('Is your item glass? yes/no')
stuff = input()
if stuff == 'yes':
print(
'Any of the broken/shattered parts are not recyclable. Clean all the dirty parts so it doesnʹt contaminate the other recycables'
)
else:
print('Is it a food box? yes/no')
food = input()
if food == 'yes':
print('Does it have food/grease on it? yes/no')
else:
print('Is it paper? yes/no')
paper = input()
if paper == 'yes':
print(
'If it is white office paper, newspaper, colored office paper, cardboard, white computer paper, magazines, catalogs, etc, you can recycle it. If it is coated and treated paper, paper with food waste, juice and cereal boxes, paper cups, paper towels, and paper or magazine laminated with plastic etc, you canʹt recycle it'
)
else:
print(
'https://www.dummies.com/home-garden/green-living/recycling/which-materials-can-you-recycle/'
)
grease = input()
if grease == 'yes':
print('Donʹt recycle this, it will contaminate the other recycables')
else:
print('Recycle it')
This isnt working, when we say yes to does it have food/grease on it it jumps to the paper thing :/
I think here
print('Lets get started! Iʹll ask you some questions')
You were using I’ll but if you’ll do this program will think that that ‘ is incorrect so you better use I will
Can you please show the repl, thanks!
theres an error in
print('Lets get started! Iʹll ask you some questions')
as you need double quotation marks (") because there's a single quotation mark in the text you want to print.