+ 2
Need some suggestions for my code
Hello, everyone who check out this post Finally i have made my best own code for now. This is a great start to me. But i want to enchance my code and make it better.. Any suggestions on doing it? https://code.sololearn.com/cR5LH0EShEFi/?ref=app
7 Answers
+ 2
print(value, end="") # <-- try this
+ 2
@BlugonYT using the code that I posted will do exactly that. Change your print statement by adding the end="" as the second argument. This will change the default newline '\n' character to an empty character and the numbers will all print on the same line.
+ 2
in a line do you mean horizontally or vertically.
+ 1
How to make my password print in a line?
+ 1
Thanks, now i understand
0
you can try to put number AND char into the password
0
@ChaoticDawg you mean add it to the last line?