0
How do you make numbers in multiple lines into one line?
Imagine I have this, for i in range(10): print(i) output: 1 2 3 4 5 6 7 8 9 I dont want that, i want this -> 0123456789 how?? a simple solution please
8 odpowiedzi
+ 6
print(i, end='')
+ 4
cloroxide you just have to give one extra parameter to print function.
for i in range(10):
print(i, end='')
0
how to use list comprehension?
0
kibo what does the * mean in your function?
0
Hi Kibo!
what do you mean by unpacking the list?
Im sorry if im asking to much ^.^