Getting Started With Python
Getting Started With Python
Python
Learning Objective
To be able to
Explain different types of Literals
Predict size of the string
Literals
Literals(oftenreferred to as constant-Values) are data
items that have a fixed value.
String Literals
String Literal is a collection of character(s) enclosed in a
double or single quotes.
You can check the type of the literal using type() function
I can………