"Python coding for School Kids" Lesson 1: Basic Math operations. No software installation required.
Hello there im starting with my first video on Python coding for school Kids. ?
To code and run this python code, you dont require any software on you computer.
Please use https://replit.com/new/python3 to type/execute/run your code directly there.
In this video on Python for Kids, we will learn about simple Maths operations whic is
Addition, Subtraction , Multiplication & Division.
Below is the snippet of the code, you simple use this to start your learning,
# Maths Arithmetic Operations
num1 = input("Enter value for Number1 = ")
num2 = input("Enter value for Number2 = " )
print("addition of num1,num2 = ",int(num1) + int(num2))
print("subtraction of num1,num2 = ",int(num1) - int(num2))
print("multiplication of num1,num2 = ",int(num1) * int(num2))
print("division of num1,num2 = ",int(num1) / int (num2)).
Transcipt:
Hi I’m Sriaditya, welcome to my Channel.
Today we will discuss how to do Basic Math's Arithmetic Operations using Python.
For this you don’t need any Python to be installed on your Computer, instead we can use Online Website called. Replit.
Python is a most powerful & Popular coding language available today, with which you can even control the Space shuttle from base.
Now lets start !!!
On how to do addition of 2 numbers,
We will use the input function to accept the value of Number1 and store it in a variable Num1.
Similarly we will accept the value for Number2 and store it in a variable Num2.
Now lets print the addition of 2 numbers using Print Function and Plus operation.
Please notice, we have used INT function before num1 and num2 which python understands that this variable is of type integer or numeric only.
To execute this code we will copy paste this in Replit website which is free to use, I have provided the link of the same in the description…
Now please click on the Run , you can see the code is running .
Please input values for Number1 and enter .. . similarly enter value for number2 and enter.
Now you should see the output of the 2 numbers …..
Hoooraay we have completed successfully our first python program.
Now lets go for next arithmetic operation, which is Subtraction.
Now lets print the subtraction of 2 numbers using Print Function and Minus operation.
Now lets run it … and see the result
Now lets go for next arithmetic operation, Multiplication.
Now lets print the Multiplication of 2 numbers using Print Function and star or multiply operation.
Lets run it … and see the result
Now lets go for next arithmetic operation, Division.
lets print the Division of 2 numbers using Print Function and slash or division operation.
lets run it … and see the result
With these we have covered all basic Math operations and in my next video we will try to do more simple python codes …
Please subscribe to my channel & like the video … This gives more motivation to present more videos ….
Thanks for watching and I will see you with my next video , until then Take care ba byeeee !
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «"Python coding for School Kids" Lesson 1: Basic Math operations. No software installation required.», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.