Python input don't do anything | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python input don't do anything

I want to check if input other than yes/no don't run start variable. how function can do that? https://code.sololearn.com/c5pcBz13j99u/?ref=app

18th Dec 2021, 1:56 AM
EsaKurniawan
1 Answer
0
For this first you took name as input. Gor yes/no you need to create another variable which take input of response, then use logic (if/else) and everything will work fine. well you question is little unclear for me. elaborate it if you want more help
18th Dec 2021, 3:39 AM
Ayush Kumar
Ayush Kumar - avatar