How do you make an if statement on python | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How do you make an if statement on python

I'm making a little game called do you like me and I need them to be able to type. but i don't know how to do that or make an If statement if you know what I'm talking about plz comment your answer I added the program send your if statement to me as well as I'm able type answers https://code.sololearn.com/ctnyy5r8QLtG/?ref=app

17th Apr 2017, 11:13 AM
Anonymous
Anonymous - avatar
15 ответов
+ 2
Wow I apologise for my sarcastic answer @Gamernolan06, I forgot here are children using this app too. I hope I didn't break your confidence in asking questions, all of the best to you.
17th Apr 2017, 11:56 AM
Ghauth Christians
Ghauth Christians - avatar
+ 15
print ("do you like me?") answer=str(input()) if answer == "yes": print("lets get married") elif answer == "no": print("im going to go cry now") else: print("i only understand yes and no. my parents didn't school me.")
17th Apr 2017, 11:17 AM
Ahri Fox
Ahri Fox - avatar
+ 4
if you.finish == sololearn.course("Python"): print("You'll know how if statements work") if condition: //code
17th Apr 2017, 11:16 AM
Ghauth Christians
Ghauth Christians - avatar
+ 4
oh and in Pacific time yesterday was Easter so Happy late Easter lol
17th Apr 2017, 12:03 PM
Anonymous
Anonymous - avatar
+ 4
it's all good
17th Apr 2017, 12:04 PM
Anonymous
Anonymous - avatar
+ 4
yayyyyy!!! a pokemon in html that's master savage
17th Apr 2017, 12:07 PM
Anonymous
Anonymous - avatar
+ 4
it's a togepi yayyayayayayyagagayayga fave pokemon
17th Apr 2017, 12:08 PM
Anonymous
Anonymous - avatar
+ 4
oh btw sub to my channel Its Gamernolan06
17th Apr 2017, 12:17 PM
Anonymous
Anonymous - avatar
+ 3
thx it's appreciated I know how it feels I wanna give sarcastic answers to but you don't wanna break confidence but me I'm fine thx for the apologie I appreciate it
17th Apr 2017, 11:58 AM
Anonymous
Anonymous - avatar
+ 3
@Gavin Christians it's fine btw
17th Apr 2017, 12:00 PM
Anonymous
Anonymous - avatar
+ 3
it's 5:00 Pacific I'm tired but I must learn python 😴 https://code.sololearn.com/ctnyy5r8QLtG/?ref=app
17th Apr 2017, 12:11 PM
Anonymous
Anonymous - avatar
17th Apr 2017, 11:37 AM
Anonymous
Anonymous - avatar
+ 2
Thank you for accepting my apology @Gamernolan06
17th Apr 2017, 12:03 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
You too @Gamernolan06, check out my Happy Easter code for your Easter surprise
17th Apr 2017, 12:04 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
yo what's popping I'm back frum school
17th Apr 2017, 10:02 PM
Anonymous
Anonymous - avatar