(SOLVED)Why does it say 14
I imported random into this code, and sometimes it outputs the number 14 when I run it. I put it so that when it equals 14 to equal a variable. But why doesn't it work sometimes? https://code.sololearn.com/ccxhE00Ni4TP/#py
Abhay The input that was wrong was one of the random outputs you get when you submit Become Friends Become friends friends Friends become friends I made it so that there would be a 3/5 chance of winning the game with that part of the story, or doing a harder part of the story I realized that I had put == instead of =. Thanks for your guyses help as for the all the if statements, its because I add stuff to the game a lot and there are a lot of paths that you can take. I am messy.
Very very very dificult code, unreadable many ifs, may be you forgot somewhere else. Or something else
oof sorry I accidentally put if y == 14: y == q thanks for the help!
You can remove just 10 000 if, just after input make the str lower and you it, or if you want very beatiful writing you can make lower and the capitalize it. And in this case if you enter dog,Dog,dOg,DOG,doG you need just check on Dog
How does this works?I inputted Dog and I dunno what to do further
You input the answer to the question Ex. fight Don't keep your other commands.
Your code is really hard to read tho,i entered become friends 3 times and the program ended so I really cudn't figure out what is happening ,thankfully you solved it on your own :-)
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 yup the code is messy if you read it yourself ,maybe you have a lot of time to solve others problem ,but I can't just stress myself wondering what's happening
Bug: Sololearn notification is still showing number in the notification icon even i did mark as read
Why are my users being logged as [object Object] when logging my array/user instead of giving me the values [name, age]?
JS in sololear is latest version or older? What do we use often VAR or LET and CONST?? I Have VAR is no longer used is it true??
C++ Question re stringstream
Sololearn bug @mentors