LinkedIn Python Skill Assessment Quiz Answers

Which syntax correctly creates a variable that is bound to a tuple?

Latest Update on 25th January, 2022 by Certification Course Answers

Which syntax correctly creates a variable that is bound to a tuple?

  1.  my_tuple = [2, ‘apple’, 3.5]
  2.  my_tuple = [2, ‘apple’, 3.5].tuple()
  3.  my_tuple = tup(2, ‘apple’, 3.5)
  4.  my_tuple = (2, ‘apple’, 3.5)

Correct Answer:

  •  my_tuple = (2, ‘apple’, 3.5)

Latest Updates

No posts found in this category.