Python Tutorial - Add, Subtract, Multiply & Divide

preview_player
Показать описание
Learn how to use simple mathematical operators to add, subtract, multiply and divide in Python.

Рекомендации по теме
Комментарии
Автор

This video is like 1000x better than my teacher

drsmithgaming
Автор

Code:
# ADDITION
x = int(input("Enter a number: "))
y = int(input("Enter another number; "))
print(x + y)

theforces
Автор

i learned more from this :D than my teacher who rambles for 2 hours incoherently

samiyahbeary
Автор

Seriously how amazing you teach brother, keep it up, I was searching beat tutorial then i found your channel

saifazam
Автор

thank you so much this tutorial was so helpful and easy to learn it helped me alot

rohankarnati
Автор

wish you were my teacher, you are concise... my professor overcomplicates everything and makes it hard to understand. Cheers for the helpful video :)

GamingCookster
Автор

The way you explain, 🙌❤️
You clear all my doubts 💯🔥
Thanks dude.

fahadansari
Автор

Thank you so much this really helped me.

dazzieee
Автор

Easy tutorial! helped a lot thank you!

hammyx
Автор

So I'm stuck with a TypeError caused by an supported operand cause I'm trying to divide a variable by a variable cause I'm a caveman

_-nexus-_
Автор

please coach what app are you using for your python coding, or should I ask what python template are you using for your tutorial...

sirkingsomo
Автор

but what about in lists? im struggling with division and subtraction
ef subtr(list1):
r=0
for x in lista:
r=r-x
return r

list1=(4, 5, 6)
print(subtr(list1))

the resuit is wrong : /

armandguillen
Автор

what if i want to make it so that i can choose what operation i want instead of cycling through them all?

harvj
Автор

Brother i need full course on python from basic please help me

saifazam
Автор

While watching this video I got commercials for WIX, Squarespace and Go Daddy lol

Cal_lum
Автор

how to workout this method in ubuntu pls help sir]

suhimarose
Автор

How can I do the same but with a comma because I have an error

emiray
Автор

what if I want to take as a single input
for eg 5Addition11 must do 5+11 and print 16
similarly, 5multiply11 must do 5*11 and print 55
plz help

harijagadeeshiyer
Автор

please reply is it a rule tto put back slash n in quotation marks please reply sir

audheshyadav
Автор

How do I do this if the numbers I have to use are in a list

someonegreat