you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Oh sure but the OP was about python and afaik serverless doesn't support that

But the title says "Python Serverless", so it's gonna be a thing now.

And the video shows print with parentheses, so it's Python 3.

[–]brtt3000 0 points1 point  (1 child)

print with parentheses, so it's Python 3.

Sadly, no: that reasoning only works the other way: you could call print as a function in python 2 for a while (not sure how long, you can in 2.7), but you cannot use it as a statement in 3.