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 hello world in python?
What are the two main types of functions in python?
How do I run notepad ++ in python?
What does == mean in python?
What is an egg in python?
Is java or python better?
What is a 4 tuple?
Why is it important?
What is the type () in python?
How to split a string into a list?
What does append () do in python?
Is python an oop?
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 is difference between input and raw_input?
What is sphinx python?