Unknown infuriating bug!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Unknown infuriating bug!!

I have a bug in a program that I am making. It's a Python rock paper and scissors (functional edition) game and I cannot no matter what find the why it is wrong. It's says a error message that I have tired correcting! Great thanks to who ever can tell me why. Ps don't forget to vote when you get there! :)

18th Sep 2020, 3:15 PM
Silentrouge
6 Answers
+ 4
Silentrouge , i have put your code in a new file. i have done some improvement in case of issues. See comments in file. Please note, that you have to take the return values coming from the functions to print them out. I have not tested the logic in depth, but i am sure you can do this. https://code.sololearn.com/c0WdqUTD5IE5/?ref=app
19th Sep 2020, 2:59 PM
Lothar
Lothar - avatar
+ 3
May be you can share your code here so that we can see where you struggle? Thanks!
18th Sep 2020, 3:35 PM
Lothar
Lothar - avatar
+ 2
Silentrouge , no problem. Just do the following steps: - select your code and copy it - use the solo app and go to 'Code' section - tap to '+' sign to create new python code - paste your code in the code area - save the code ( upper right ···) and make it public - then go to your initial code and just write a memo that the code can find in the code section
18th Sep 2020, 7:24 PM
Lothar
Lothar - avatar
+ 1
@lothar thank you soo much and sorry for bothering you with the time delays.
19th Sep 2020, 3:47 PM
Silentrouge
0
How do I do that lothar sry I am a noob coder
18th Sep 2020, 6:47 PM
Silentrouge
0
Lothar yes the name of the code is made public and is called Rock paper and scissors.py (functional edition). I normally use the web version so here is the link as well https://code.sololearn.com/c0rmp5dPnNRQ/#py thank you so much for helping:)!
19th Sep 2020, 2:04 PM
Silentrouge