Tag: Literals in Python
What are Literals in Python and explain about different Literals?
A literal in python source code represents a fixed value for primitive data types. There are 5 types of literals in Python- String literals A string literal is created by assigning some text enclosed in single of double quotes to a variable. To create multiline literals, assign the multiline text enclosed in triple quotes. E.g.,…
Read MoreFeatured Articles
-
Zero to Python Hero – Part 5/10: Essential Data Structures in Python: Lists, Tuples, Sets & Dictionaries
-
Top 5 Skills Every Engineer Should Learn in 2026
-
Zero to Python Hero - Part 4/10 : Control Flow: If, Loops & More (with code examples)
-
Zero to Python Hero - Part 3/10 : Understanding Type Casting, Operators, User Input and String formatting (with Code Examples)
-
Dynamic Programming in Reinforcement Learning: Policy and Value Iteration
Latest Articles
-
Zero to Python Hero – Part 6/10: Functions and Modules in Python
-
Zero to Python Hero – Part 5/10: Essential Data Structures in Python: Lists, Tuples, Sets & Dictionaries
-
Top 5 Skills Every Engineer Should Learn in 2026
-
Zero to Python Hero - Part 4/10 : Control Flow: If, Loops & More (with code examples)
-
Zero to Python Hero - Part 3/10 : Understanding Type Casting, Operators, User Input and String formatting (with Code Examples)
-
Zero to Python Hero - Part 2/10 : Understanding Python Variables, Data Types (with Code Examples)
