How many kinds of sequences are supported by python? What are they?
Answer / Prachi Singhal
Python supports three types of sequences: lists, tuples, and strings. Lists are ordered and mutable collections of items enclosed in square brackets []. Tuples are also ordered and immutable collections enclosed in parentheses (). Strings are sequences of characters enclosed in single or double quotes.'
| Is This Answer Correct ? | 0 Yes | 0 No |
What is egg and wheel in python?
Write a program to find the max value from a list without using max()?
How do you handle exceptions in Python?
What is enumerate() function in python?
What is the dictionary in Python?
What are python templates?
How to convert a string into datetime?
Can python function return multiple values?
is there any maximum length expected for an identifier?
What is python and explain some of its benefits?
Define the usage of split?
What happens if we do not handle an error in the except block?