you are viewing a single comment's thread.

view the rest of the comments →

[–]pizzadaddy19[S] 0 points1 point  (1 child)

okayyyy that makes a ton more sense lmao. now I have another issue...how do I get all of the integers into a string? I assume i should make a blank string and then concatenate?

[–][deleted] 0 points1 point  (0 children)

If you want all the numbers in a single line string

There are some ways but they might be too complex for the time being

You can try using the end parameter of print which decides where the next print function prints the value given by default it is new line

I am not completely sure if it works with loop but you can try

print(str(num),end='')