Python Literals, Operators and Punctuators Functions | Informatics practices IP Python in Malayalam
Python Literals, Operators and Punctuators Functions | Informatics practices IP Python in Malayalam
Literals in Python is defined as the raw data assigned to variables or constants while programming. We mainly have five types of literals which includes string literals, numeric literals, boolean literals, literal collections and a special literal None
A string literal is where you specify the contents of a string in a program. Here 'A string' is a string literal. The variable a is a string variable, or, better put in Python, a variable that points to a string. String literals can use single or double quote delimiters.
In Python, escape sequences are indicated by a backslash ( \ ). The most important one may be \n which indicates a new line. Like so, multiple logical lines can be stacked into a single physical line. Another escape sequence worth mentioning is \' for a single quote within a string.
To calculate the length of a string in Python, you can use the built-in len() method. It takes a string as a parameter and returns an integer as the length of that string. For example len("educative") will return 9 because there are 9 characters in "educative".
Numeric literals are used to represent numbers in a python program. In python we have different types of numeric literals such as integers, floating point numbers and complex numbers. Integers in python are numbers with no fractional component. An integer representing a decimal number can be defined as follows.
When you create an integer like this, the value 25 is called an integer literal because the integer is literally typed into the code. int("25") is not an integer literal because the integer value is created from a string.
o write a float literal in E notation, type a number followed by the letter e and then another number. Python takes the number to the left of the e and multiplies it by 10 raised to the power of the number after the e . So 1e6 is equivalent to 1×10⁶.
Special Literals in Python
Python literals have one special literal known as None. This literal in Python is used to signify that a particular field is not created. Python will print None as output when we print the variable with no value assigned to it. None is also used for end of lists in Python.
There are only two Boolean literals in Python. They are true and false.
Python divides the operators in the following groups: Arithmetic operators; Assignment operators; Comparison operators; Logical operators
A punctuator is a token that has syntactic and semantic meaning to the compiler, but the exact significance depends on the context. A punctuator can also be a token that is used in the syntax of the preprocessor.
Index
00:00 CBSE class 11 Informatics practices IP Python fundamentals Tokens continues chapter 3
00:20 Python Literals Values in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
00:50 Python String literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
01:08 Escape sequences in python in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens || Python Escape sequences in Malayalam
02:50 Python size of strings in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
04:37 Python numeric literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
04:47 Python integer literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
04:57 Python float literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
05:17 Python special literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
05:38 Python Boolean literals in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
06:22 Python Operators in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
06:52 Python Punctuators in Malayalam CBSE Informatics practices IP Chapter 3 fundamentals Tokens
#computerpadanavedhi
#python
#pythontutorial
#pythonforbeginners
#pythonprogramming
#pythonmalayalam
#pythontutorialmalayalam
#pythontutorialforbeginners
#gettingstartedwithinformaticspractices
#informaticspractices
#informaticspracticesmalayalam
#cbsepython
#python_for_beginners
#python_tutorials
#pythonprogramming
കൂടുതൽ ക്ലാസ്സുകള്ക്കു സബ്സ്ക്രൈബ് ചെയ്യുക: https://youtube.com/@computerpadanavedhi
Microsoft MS Word കൂടുതലായി പഠിക്കാൻ ഈ Playlist നോക്കുക : https://youtube.com/playlist?list=PLpKnz7eqthGO_DCj0M8eV_IGD4d9PHsIP
Plus one ക്ലാസ്സിലെ Python കൂടുതലായി പഠിക്കാൻ ഈ Playlist നോക്കുക : https://youtube.com/playlist?list=PLpKnz7eqthGPYKsKVl1PEh_rLUZc1fGTt
Plus two ക്ലാസ്സിലെ Python കൂടുതലായി പഠിക്കാൻ ഈ Playlist നോക്കുക : https://youtube.com/playlist?list=PLpKnz7eqthGOZLgmMrXUpv6l5aOW_CMI-
MySQL കൂടുതലായി പഠിക്കാൻ ഈ Playlist നോക്കുക : https://youtube.com/playlist?list=PLpKnz7eqthGMAZPHGQ0hSf6Vjo61vJBdD
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python Literals, Operators and Punctuators Functions | Informatics practices IP Python in Malayalam», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.