fork download
  1. # your code goes here
  2. my_tuple = (1, 2, 3, 4, 5, 6)
  3. my_tuple = my_tuple[:2] + (6,7,) + my_tuple[3:]
  4. print(my_tuple)
Success #stdin #stdout 0.04s 9568KB
stdin
Standard input is empty
stdout
(1, 2, 6, 7, 4, 5, 6)