I’m trying to print out a tuple I have:
t1 = (9,6,5,2) println("Tuple1, position1: $t1")
but I receive an error because of the 1 inside the bracket, whats the correct way to format the statement?
Just to add, I have made the statement work just fine using
@printf("Tuple1, Position 1: %d", t1)
But I would also like to learn how to use it with println.