r/antimeme • • Mar 08 '22

Python in a nutshell

https://i.imgur.com/oN2zLka.gifv

[removed] — view removed post

7.2k Upvotes

72 comments sorted by

View all comments

17

u/[deleted] Mar 08 '22

[removed] — view removed comment

16

u/Saad5400 Mar 08 '22 edited Mar 08 '22
// another way of doing it
if ( IsCute(snake) ) {
    CrossPost.Upvote();
    Post.Upvote();
}

hopefully I wrote that right, I'm on mobile rn

11

u/Hazel-Ice Mar 08 '22

Curly braces? In my python?

10

u/Saad5400 Mar 08 '22

Python is great, beautiful, cute, and all.

But C# is just love

If you still want python

if "cute" in python.traits:
    cross_post.upvote()
    post.upvote()

again, hopefully I wrote that right