Ask coding questions

← Back to all posts
How would i ask a question?
SohumMerai

Hi, How would I ask a question in python saying "Which do you like better? android or iPhone? When you say android it would say "Awesome, android is cool" and for iPhone say "iPhone isn't as customizable but still nice

Thanks

Voters
SohumMerai
Comments
hotnewtop
MrVoo

You might be talking about elif, use it just like you would the if statements except in between if and else