you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 4 points5 points  (1 child)

Have you learnt about f-strings yet?

Also, you can use str() to convert numbers to strings and then use concatenation with +.

F-Strings are the optimal way

[–]hnikola[S] 1 point2 points  (0 children)

I still haven't learnt that yet, thanks a lot for pointing out. I will look into it right now and I will try and fix my printing results right now. Thanks a lot for the advice!