RUVIDEO
Поделитесь видео 🙏

Arithmetic Operators in Python [+ , - , * , / , %] смотреть онлайн

📁 Обучение 👁️ 0 📅 03.12.2023

This video explains about Programming in Python with Examples. It helps you to Learn Arithmetic operators in Python .
This is Chennai Brothers.
Arithmetic operators are as expected. The plus sign is for addition and the minus sign is used for subtraction. Ex: 4 + 4 = 8, 4 – 4 = 0.
One of multiplication sign (*) is for multiplication and two multiplication sign (**) is used for power of a number . Ex: 4 * 2 = 8, 4 ** 2 = 16.
There are two type of division. One is float division and other is integer division.
Float division is normal division where decimal value of quotient is displayed. It is represented by one backslash symbol (/). Ex: 5 / 3 = 1.667
Integer division is represented by two backslash symbols (//). It returns an integer value of quotient, but it does not round the decimal value of quotient. Ex: 5 // 3 = 1.
The remainder sign is percentage symbol (%). It returns remainder. Ex: 5 % 3 = 2.

For the addition sign (+) and percentage sign (%) arithmetic operators there are special uses with strings.
String formatting uses the arithmetic operator: percentage symbol (%).
A is a variable. It is equal to input (‘what is your name: ‘).
Then in this print statement, you could see that the name we entered, is printed along with hello , without space . now in the next print statement, you could see that there is a space between hello and percentage ‘s’ symbol. So, the output is printed as, hello space and name we entered.
String concatenation uses the arithmetic operator -addition symbol (+).
I wrote a is hi and b is Chennai Brothers. Now I said print them together. Now in the result ,they are literally printed together because there is no space. To add a space, I added double quotes (‘’) in between a and b. Now the result is, hi space Chennai brothers.
Please let me know what topics in python should I cover in my next video. Thank you for watching my video, please like and share and subscribe to our videos. Have a good day .
See you soon with a brand-new python video.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Arithmetic Operators in Python [+ , - , * , / , %]» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.