Answer Posted / nashiinformaticssolutions
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
What are the 3 types of relation?
Name and explain the three magic methods of python that are used in the construction and initialization of custom objects?
What is a function call or a callable object in python?
What are functions in python?
As python is more suitable for the server-side application, it is very important to have threading implemented in your server code. How can you achieve that in python?
What are the two main types of functions?
Why do we need break and continue in python?
Can you learn python with no experience?
What is map function in python?
What does none mean in python?
Why python is fast?
What is the use of map in python?
Why to use python numpy instead o f lists?
Are lambda functions faster python?
What is a closure in python?