• Name: What will be the output of the following Python code? >>>my_tuple = (1, 2, 3, 4) >>>my_tuple.append( (5, 6, 7) ) >>>print len(my_tuple)
  • What will be the output of the following Python code?

    my_tuple = (1, 2, 3, 4) my_tuple.append( (5, 6, 7) ) print len(my_tuple)

    • Error
      Tuples are immutable and don’t have an append method. An exception is thrown in this case.
    • 2
      Incorrect
    • 1
      Recheck
    • 5
      Nope