0

Help me with fix that code pls

Hi. I would prefer to use 'def' in the code below, but I don't know how. I added the variable 't' to print the results and one more loop for the same purpose, but i think loops don't work as expected inside defined functions. 't' don't have any changes. https://code.sololearn.com/cgOtcdx1Yp7r/?ref=app

3rd Mar 2020, 2:28 PM
Lil Shi
Lil Shi - avatar
2 Antworten
+ 1
Your code is running without any technical problem. So it's not easy to understand, what you like to achieve. Please provide us a sample of how the output should look like. Thanks!
3rd Mar 2020, 4:21 PM
Lothar
Lothar - avatar
+ 1
Lothar I would like to keep nickname maked with using G and fixed in output length by input. So, i did it and i think my next step will be take word by G, generate random number and set letter UPPER case if 1 and lower case if 0. So i trying did it in "refresh" function.
5th Mar 2020, 6:38 AM
Lil Shi
Lil Shi - avatar