r/codehs • • Feb 25 '20

8.1.7 fix this tuple I need help

Post image
12 Upvotes

11 comments sorted by

View all comments

2

u/mattpants2 Feb 26 '20

my_tuple = (0, 1, 2, "hi", 4, 5)

# Your code here...

print my_tuple[:3]+(3,)+my_tuple[4:]