0

How can i make ticket printer with short code

For reference please check code in my profile I have just started and I am not able short this code

12th Dec 2019, 10:53 AM
Vishal Pandey
Vishal Pandey - avatar
4 Respuestas
+ 1
I don't mean to be rude but your code looks quite chaotic. I can only guess what you mean to achieve, so I cleaned the code up, made it much shorter and added indents that made more sense. your function only contains a single line: print() here's my code. I added comments to make it easier to understand (I hope). https://code.sololearn.com/cJm8H1Sj59Dp/?ref=app
25th Dec 2019, 2:18 AM
grdr
0
Thanks a lot gregor
25th Dec 2019, 2:20 AM
Vishal Pandey
Vishal Pandey - avatar
0
I have understood
25th Dec 2019, 2:21 AM
Vishal Pandey
Vishal Pandey - avatar
0
you're welcome
25th Dec 2019, 2:21 AM
grdr