Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (55.6k points)

Can anyone tell me what is a sequence in python?

1 Answer

0 votes
by (119k points)

A sequence in Python is a group of elements having a deterministic ordering. The order in which we keep the items is the same as the order in which we take the item out from them.

Python offers six types of sequences:

  • String
  • List
  • Tuples
  • Byte sequences
  • Byte array
  • Range object.

I recommend enrolling in this Python Course by Intelllipaat to learn Python.

Also, watch this video on Python Sequences:

Related questions

0 votes
1 answer
asked Nov 2, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer
asked Nov 2, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Nov 2, 2020 in Python by Sudhir_1997 (55.6k points)

Browse Categories

...