Write a program to check it all the elements of a tuple are in descending order or not. B. What are literals in Python? How many types of literals are allowed in Python?
Answers
Answered by
1
Answer:
Python Literals
Python Literals can be defined as data that is given in a variable or constant.
Python supports the following literals:
1. String literals:
String literals can be formed by enclosing a text in the quotes. We can use both single as well as double quotes to create a string.
Similar questions