Have not choice. Python3. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Have not choice. Python3.

Here is a function (on my profile, first post) that suppose using a choice but don't do it and always takes the first variant.

14th Jul 2020, 2:05 PM
Mark W.L.
Mark W.L. - avatar
2 Respostas
+ 2
You can add feed-post link here... Btw the fisrt condition is always true.. choise == "yes" or "yes" If you don't input "yes" then also true because other than "" (empty string) will equal to 1 or True in boolean.. But why there 2nd "yes" Remove or condition Just put Choice == "yes" : elif choice == "no" :
14th Jul 2020, 2:16 PM
Jayakrishna šŸ‡®šŸ‡³
0
Wow, thank you
14th Jul 2020, 2:36 PM
Mark W.L.
Mark W.L. - avatar