I have been trying to add coordinate into a tuple so I can create a new layer but for some reason the the tuples show as lists when i output them to arcpy.addMessage. Running the following code below gives me output of 3 lists. Anyone know what could be going on here?
Start Time: Monday, December 05, 2022 10:20:47 AM
[1,2,3,4]
[1,2,3,4]
[2,4,6,8]
Succeeded at Monday, December 05, 2022 10:20:47 AM (Elapsed Time: 0.08 seconds)
mylist = [1,2,3,4]
arcpy.AddMessage(mylist)
#convert list to tuple
mytuple = tuple(mylist)
arcpy.AddMessage(mytuple)
my2ndTuple = (2,4,6,8)
arcpy.AddMessage(my2ndTuple)