return vs print() in Python | What is the difference?

return vs print() in Python | What is the difference?

Competer

4 года назад

118,052 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Shriddle
Shriddle - 29.09.2023 16:41

Prime content

Ответить
Fr Pe
Fr Pe - 23.06.2023 11:34

Okay Print and return are the same when its doesnt include a function call, but when it does return will get the answer while print shows none. Is that right?

Ответить
Lou Williams
Lou Williams - 24.05.2023 20:59

i still don't understand - why return at all?

Ответить
ThisRandomDude
ThisRandomDude - 11.04.2023 16:20

Very clear explanation. I generally dislike TTS, but this video was good enough to a point where I can definitely let it slide :) Thank you for making it!!

Ответить
Ananya Tripathy
Ananya Tripathy - 09.04.2023 09:08

Thanks a lot!!!

Ответить
GonPlays
GonPlays - 01.04.2023 21:59

Basically return stores the value in the defined function and print just prints it
If you define a function to return a value and call that function it's value doesn't get printed
But if you defined a function to print a value and call it, it prints the value

Ответить
Mansoor Khan
Mansoor Khan - 31.03.2023 09:30

Thanks for this it really helped❤.

Ответить
Shyneee
Shyneee - 08.02.2023 03:09

very confused video

Ответить
Nekotico
Nekotico - 23.11.2022 21:59

now im more confused

Ответить
Vanja Dezelic
Vanja Dezelic - 10.11.2022 16:17

still don't get what return function does and this is my XY video i am watching. professor goes in same direction - without clear example. if i ever get it, i will explain it in a way people without programming tallent will get it.

Ответить
Garfield
Garfield - 23.09.2022 01:43

Okay I kinda get it now

Ответить
Zaky Vids
Zaky Vids - 10.08.2022 07:16

I’m still confused not saying though that the video is bad It’s my mind that’s not understanding

Ответить
no name
no name - 18.07.2022 20:05

ahhh. blank
try to elaborate in easy language

Ответить
v1ct0rX
v1ct0rX - 14.04.2022 18:49

i finally understand why we need to use the return statement, thanks a lot!

Ответить
Dober
Dober - 13.04.2022 20:50

AIDE

Ответить
Usman Abid
Usman Abid - 17.03.2022 09:47

a very clear and brief explaination!

Ответить
Tickling Tick
Tickling Tick - 16.03.2022 18:38

People are just making it complicated for the beginners while the real difference and explanation lies inside the word meaning of "return" and "print".Now just move on and you will get it once u try it out in your practice set.Its nothing big in the depth you are digging for.

Ответить
yassine waterlaw
yassine waterlaw - 13.03.2022 05:07

I didn't notice the difference because there is no difference

Ответить
Josh Laitinen
Josh Laitinen - 13.02.2022 14:21

thanks so much lol

Ответить
Xzist23
Xzist23 - 31.01.2022 14:56

Noiceee

Ответить
qqbot
qqbot - 28.01.2022 20:31

Holy shit I spend 2 hours looking for an answer and here i got it in not even 3 minutes, thank you

Ответить
Shimna Harees
Shimna Harees - 19.11.2021 21:26

Very brief and on point explanation. This is exactly what I was looking for! Thanks a lot!

Ответить
Pigo17
Pigo17 - 04.11.2021 18:52

BRO I UNDERSTOOD SOMETHING THAT TOOK ME HALF OF AN HOUR I A MIN OMG THX

Ответить
Laalith Pedamalla
Laalith Pedamalla - 28.09.2021 22:37

this is really helpful
thank you so much

Ответить
Coder Haseen
Coder Haseen - 29.08.2021 07:42

Thank you so much!
This helped a lot :)

Ответить
Sharan Chandrasekaran
Sharan Chandrasekaran - 28.08.2021 18:40

Excellent, thanks

Ответить
TheSami Xz
TheSami Xz - 24.06.2021 13:46

What the heck ? What ? 🤣🤣
return vs print

Ответить
mhiema
mhiema - 22.05.2021 15:09

Thank you so much!!!! At first, I didn't know what was the difference of return and print and now I know. Thank you so much

Ответить
‎
- 18.05.2021 14:21

So technically the result variable is returned/changed back to change_sign_print(num)?
Am I right or am I wrong?

Ответить
Max
Max - 18.05.2021 12:17

You have a beautiful voice <3

Ответить
Aqueeq Azam
Aqueeq Azam - 14.05.2021 04:30

Wow, that brilliant.

Ответить
Edward Genis
Edward Genis - 12.05.2021 06:04

I still don’t understand I just wanted to learn to make a space between my prints

Ответить
Kapilnath M
Kapilnath M - 27.04.2021 10:57

cool

Ответить
James Kenneth Almerol
James Kenneth Almerol - 19.04.2021 13:12

Thank u so much

Ответить
Andreas Poesen
Andreas Poesen - 14.04.2021 13:14

I was very confused by return and couldn’t find an clear explanation, but this was explained very well so thank you for helping me out😁👍

Ответить
Shreyash Kashyap
Shreyash Kashyap - 13.04.2021 12:39

Thanks sis

Ответить
Osama Alkayed
Osama Alkayed - 08.03.2021 23:24

Thanks so much, this was really helpful. ❤
But It could be way better if a real person is talking.

Ответить
avel
avel - 04.03.2021 20:44

Thanks

Ответить
Muhammad Hassan Butt
Muhammad Hassan Butt - 22.02.2021 07:58

Is this real voice ?

Ответить
abod jo
abod jo - 10.11.2020 10:54

thank you 🌷🌷

Ответить
DATA WOLF
DATA WOLF - 27.10.2020 21:31

what up foo

Ответить
Kugisaki Nobara
Kugisaki Nobara - 20.10.2020 03:16

omg thanks!! i really need this for my class, now i know 'bout the different

Ответить
abhishek Patel
abhishek Patel - 13.10.2020 14:28

Today u clear my dout thank u 🙏

Ответить
Avhee Aziz
Avhee Aziz - 01.10.2020 20:27

Any WhatsApp number asking questions

Ответить
HRITHIK S
HRITHIK S - 15.08.2020 11:47

v.v.v.v.thankyou

Ответить
25. Muhammad Hilmi Haidar Y
25. Muhammad Hilmi Haidar Y - 16.06.2020 16:10

Big thanks

Ответить
Football sport
Football sport - 12.06.2020 23:31

Amazing explanation ! thanks

Ответить
SiranKari
SiranKari - 02.06.2020 18:54

Thank you for this

Ответить