help plz
Icekit (62)

I need help with if satements.

You are viewing a single comment. View All
BlueComet (116)
inp = input("do you want to buy this (yes/no)")
# making a variable
if inp == 'yes':
# checking there input 
    print("you have $5")
if inp == 'no':
# checking  there input
    print("you have $10")
 Hope this  helped you out!
Icekit (62)

Thanks for the help my brother is not as a good of a coder as I am but I figured out how to help him thanks to [email protected]