Literals in Python | String Literals | Numeric Literals| Boolean Literals| Literal None| CBSE Python

Опубликовано: 31 Январь 2022
на канале: SA Educational Hub
5,072
68

In this Python tutorial for beginners, we will learn literals in Python. This Python tutorial video covers: What is a literal in python?, Types of Literals in Python:
1. String literals
2. Numeric literals
3. Boolean literals
4. Special literal None
5. Literal collections

String literals: single line string, multi-line strings, raw string.
String literals using single quotes, double quotes, and triple quotes.
String literals using escape characters.
How can we use a quote inside a string?
Numeric literals: In Python, there are three types of numeric literals:
1. integers (or int),
2. floating point numbers (or float),
3. imaginary numbers.
Python supports 4 types of integer literals:
1. Decimal Integer literals
2. Binary integer literals
3. Octal integer literals
4. Hexadecimal integer literals
Floating-point literals: Floating-point literals or real literals contain a decimal point or an exponent or both.
The floating-point literals may also be expressed in exponential notation.
Imaginary literal: An imaginary number is a real number multiplied by the square root of -1.
A complex number is a combination of a real and an imaginary number.
Boolean Literal: A Boolean literal in Python has two values, i.e., either True or False.
Special Literal None: In Python, “None” is a special literal that represents the absence of a value.
Literals collections: Python supports four types of literal collections, such as tuples, lists, dicts, and set literals.
This video will help you learn Python programming without anyf prior programming language knowledge.
After watching this Python tutorial video, you will easily be able to answer questions about identifiers and you will be able to create identifiers without making any mistakes.
Links to other videos:
channel link:
   / @saeducationalhub5697  
This video is for CBSE students.
This video is for engineering students.
This video is for anyone (BCA, MCA, BTECH, BSc, MSc, PGDCA, Diploma and computer engineering students, under graduate or post graduate computer science students) who is interested in learning Python programming.
This is the best Python tutorial on YouTube.
Our video series is a Python tutorial for beginners.This video series will guide you through how to learn Python from scratch. 
I am Ambika, having 20 years of teaching experience. My mentor, friend, and guide, Situn (Anand), is a genius with an excellent academic record and is currently working on machine learning.
Please like, share and subscribe to our channel.
Thank you.
With love,
SA Educational Hub
Links to other videos:
Print Vs sys.stdout.write
   • print vs sys.stdout.write in python |...  
Operators in python
   • Operators in Python | Arithmetic | Co...  

Identity operators in Python
   • Identity operators in python | is ope...  

Character set in Python
   • Python Character Set | Python Tokens|...  
   • Python Character Set | Python Tokens|...  
Introduction To Python:
   • Introduction To Python | what is pyth...  
Features of Python
   • Features of Python | Python Tutorial ...  
Install python on Android
   • How To Install Python On Android|Pyth...  
Compiler Vs Interpreter
   • compiler vs interpreter | difference ...  
Hello World in python:
   • Hello World in python | Interactive m...  
#pythontutorial
#python
#cbse
#cbseclass11
#cbseclass12
#cbsepython
#pythonprogramming
#learnpython
#pythontutorialforbeginners
#literals
#tokens
#pythonlanguage