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
What is lambda function ?
Is it possible to inherit one class from another class?
What are python scripts used for?
Is python a single inheritance?
What happens when you execute the statement mango=banana in python?
Give the output of this example: a[3] if a=[1,4,6,7,9,66,4,94].
Explain about dir() and help() function will do in python?
How do you concatenate strings in python?
How do you get a list of all the keys in a dictionary in python?
Explain accessor and mutator methods in python?
is Python similar to ruby?
Is nan a float python?
What is set function in python?
How do I convert a number to a string?
What is the command to debug a python program?