'How may I print multiple range variables in a single line?
I'm trying to print this variables below in one line with python3.
for x in range (20):
if x % 2 == 0:
print (x),
else:
print ("Odd", end =' ')
However the result keeps coming like this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
