You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t = "{4}, {3}, {2} {1}, {0}".format(x[0], x[1], x[2], x[3], x[4]) #if you put a comma after the numbers in curly braces, you get a comma in the output.
print(t)
t = "{4}, {3}, {2}, I left off the comma here. {1}, {0}".format(x[0], x[1], x[2], x[3], x[4]) #to go further, since there are no strings, you can write words in the output.