Jan-15-2020, 03:38 PM
For example, let's say I want to go through each character in a string and print it like this
56
for x in "Python": print(x)This prints
P y t h o nHow do I make it print this instead?
PythonMy second question is when I print two variables how do I avoid printing the white space in between them? for example when I type this:
x = 5 y = 6 print(x, y)it prints this
5 6but I want it to print it like this with no white space in between the 5 and 6
56