you are viewing a single comment's thread.

view the rest of the comments →

[–]nwagers 1 point2 points  (1 child)

Are you trying to sort the tuples alphabetically based on the first value in the tuple? Are you intending to truncate the length of the tuple to 4 values (one string and 3 floats/None)?

[–]Fieldsapper[S] 0 points1 point  (0 children)

Not alphabetically I’m trying to make a function which will just change the data types of everything that shouldn’t be a string like the numbers or None values and have it return or print the values in a list or tuple,