+ 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

15th Sep 2017, 10:58 AM
Blugon
Blugon - avatar
7 Respostas
+ 2
print(value, end="") # <-- try this
15th Sep 2017, 11:05 AM
ChaoticDawg
ChaoticDawg - avatar
+ 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.
15th Sep 2017, 6:06 PM
ChaoticDawg
ChaoticDawg - avatar
+ 2
in a line do you mean horizontally or vertically.
16th Sep 2017, 7:12 AM
Poet🎭
Poet🎭 - avatar
+ 1
How to make my password print in a line?
15th Sep 2017, 1:19 PM
Blugon
Blugon - avatar
+ 1
Thanks, now i understand
15th Sep 2017, 6:38 PM
Blugon
Blugon - avatar
0
you can try to put number AND char into the password
15th Sep 2017, 11:01 AM
Zit Zittoun
Zit Zittoun - avatar
0
@ChaoticDawg you mean add it to the last line?
15th Sep 2017, 1:18 PM
Blugon
Blugon - avatar