What is literals in python? Explain with examples.
Example: python literal string
String literal is a datatype in python.
which is used to store characters of variable length
For example :-
a = 'This is a string'
b = 'You can also includes these @#$%^&*( or 12345678'
Above there are two variables a and b having string literal as there values