Answer Posted / hr@tgksolutions.com
A string literal is created by appending text to a variable that is enclosed in single or double quotes. To create multiline literals, assign the multiline text enclosed in triple quotes.
Numerical Literal: They could include complex numbers, integers, or floating-point data.
Character Literal: One character is enclosed in double quotations to create this.
True or False is the Boolean literal.
List collections, tuple literals, set literals, dictionary literals, and set literals are the four categories of literals.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you sort a list in ascending order python?
What does join () do in python?
Why is epoch 1970?
Is python interpreted or compiled?
How do I use strftime in python?
What are key words in python?
Which server is best for python?
How do you sort values in descending order in python?
Why super is used in python?
Explain list, tuple, set, and dictionary and provide at least one instance where each of these collection types can be used.
What is the latest version of python?
Which is better Python or ruby?
How does lambda function differ from a normal function in python?
Which python library would you prefer to use for data munging?
Name few python checkers for debugging?