Hello. My objective is to create a tuple
t(1,2,3,4, ... ,n)
for a given value of n. My idea of doing that is to create the tuple as a content of a string and then to use the exec() function of that string. Here is my attempt:
for x in range(n-1):
Could you please help me to finish it? Thank you.
EDIT: The code is perfect, but my compiler couldn't compile it, because of an invisible space character created by copy pasting.