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
What is tkinter?
Is there polymorphism in python?
How do you use enums in Python?
What is different between class and object?
Mention the rules for local and global variables in python?
What is python lint?
How to exit python script in command prompt?
What are variables in python?
Is python list an array?
Can I create apps with python?
How to implement an 'enum' in python?
How can I learn python for free?
Is django an ide?
Describe about the libraries of python?
What do you understand by python modules?