Python Beginner (Functions)

preview_player
Показать описание

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

Thanks for these tutorials Chris! I really like how you cut to the chase and even if you show something rudimentary you still explain how it can be used for something far more interesting. I've taken classes in HTML/CSS and some JS and PHP but felt very limited by them. I have seen the magnitude of things Python can be used for and wanted to learn it. Thank you for helping me get my jump start. Keep up the good work!!

Dchane
Автор

i've never thought to look up the difference between methods and functions, i just took everyone's word for it that they're essentially the same. but thanks! now i know lol

MrZeroBrains
Автор

Hi Chris, great videos.
Constructive feedback:
It would be nice if you introduced the idea of "return" and how functions can return a value. Especially helpful for those using python for math and engineering.
Thanks

MrJitaditya
Автор

If I'm correct Arabic and Chinese are both read right to left, and Japan only recently went left to right just for westernization purposes.

lusciouslocks
Автор

getting the message 'inconsistent use of tabs' when i run the code. its even laid out exactly the same. why is this?

def my_smart_function(first_number, second_number, math_operation):
if math_operation == "add":
print(first_number + second_number)
elif math_operation == "multiply":
print(first_number * second_number)

my_smart_function(5, 3, "add")

liamharris
Автор

Hey Chris, I know a little Arabic and you read right to left top to bottom.

rayshadow
Автор

Hey Chris, I really like your tutorials but i have a question how to calculate 2 unknowns in python? For example if x = (4y - 2*4)/2 and y = (2x + 2*4)/4 ? I have troubles because both unknowns has an other unknown inside its function and on paper i would put one function inside the other one to calculate one unknown and use it to get the other. But how to program this stuff in python?

woodbmx
Автор

Great tutorials so far!!! Thanks for doing it. I have a question, do you know if opencv can be used. So far I cannot use it ... import cv2 does not wok. Thanks in advance

evangelospapoutsellis
Автор

How do you enable the color on VS code?

alexl
Автор

im using pycharm and the function isnt working.

def myaddfuction(econdnumbers, firstnumber):
pass

print ("secondnumber + firstnumber")

myaddfuction(5, 7)

KRISTONGOODEN
Автор

How do I know where the function closed?
At 4:35 print(4 + 4) is in the my_add_function, but print("hello world") is not.

pierretseng
Автор

Are variables defined in a function local to that function?

krisdad
Автор

how do i allow the user to type which number or operator to use

cormyster
Автор

I speak Arabic!! hahah, this is really random,

hyped