Embed presentation
Download to read offline




This document discusses different types of literals in Python including string literals, numeric literals, boolean literals, and special literals like None. String literals are collections of characters enclosed in single or double quotes. Examples of string literals include "Python", "Mogambo", and "Hello How are your". Non-graphic characters are represented using escape characters that begin with a backslash, such as \n for new line or \t for tab. Lists of escape characters and what they represent are also provided.



