Answer Posted / glibwaresoftsolutions
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 does the python version numbering scheme work?
What are python slots?
Why don’t python lambda have any statement?
Is python better than java?
How do you calculate the length of a string?
How do you write comments in python?
What is set type in python?
List some pdb commands.
Define the usage of split?
What are the use of sets in python?
How do I start learning python?
What does time time () do in python?
Is end a keyword in python?
What is enumerate python?
What is python known for?