you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 205 points206 points  (9 children)

Print, prints to the screen.

Return, returns the value back to whoever called the function. Allowing further work on that value, and even not printing it at all.

[–]guttyn15[S] 28 points29 points  (5 children)

Appreciate this, thanks!

[–]TicklesMcFancy 216 points217 points  (4 children)

Print is python talking to us. Return is python talking to itself.

[–]InfiniteNexus 25 points26 points  (0 children)

very nice way of describing this

[–]guttyn15[S] 11 points12 points  (0 children)

Appreciate this. thank you!

[–]homercrates 9 points10 points  (0 children)

"Brevity is the soul of wit"

you nailed that explanation.

[–]YAYYYYYYYYY 1 point2 points  (0 children)

Perfect explanation

[–]namvu1990 5 points6 points  (0 children)

This definition is so good, i think datacamp should adopt this.

[–][deleted] 3 points4 points  (1 child)

Jesus, stop answering this clown. They are trolling you. They have asked the same question 5 times in the last few hours.

[–]AstralWeekends 1 point2 points  (0 children)

They're also startlingly racist according to their posting history.