Back to Freecodecamp

Tuples

curriculum/challenges/english/blocks/lists-and-tuples/tuples-video.md

latest396 B
Original Source

--description--

In this video, you will learn about tuples in Python and how they differ from lists.

--questions--

--text--

Which of the following is the correct way to create a tuple?

--answers--

python
coordinates = [4, 5]

python
coordinates = (4, 5)

python
coordinates = <4, 5>

python
coordinates = /4, 5/

--video-solution--

2