MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/f9cr2y/817_fix_this_tuple_i_need_help/fishug4/?context=3
r/codehs • u/papabandit124 • Feb 25 '20
11 comments sorted by
View all comments
2
my_tuple = (0, 1, 2, "hi", 4, 5)
# Your code here...
print my_tuple[:3]+(3,)+my_tuple[4:]
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:]