user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

44. What are Literals in Python? Please describe the various Literals

user image

Abhishek Mishra

2 years ago

For basic data types, a literal in Python source code denotes a fixed value. Python has five different sorts of literal:String Literal: To produce this literal, a variable is assigned some text enclosed in quotes either single or double. The multiline text should be enclosed in triple quotes to produce multiline literal.

Recent Doubts

Close [x]