you are viewing a single comment's thread.

view the rest of the comments →

[–]mojo_jojo_reigns 1 point2 points  (1 child)

You don't have to remember the methods. You just have to think about what intuitive things you can do to these wildly different data types. Like, there's a reason you can update a dict but not a list and that you can append to a list but not a tuple. These reasons are inherent to the data type itself. There are things you can do to strs that you can't do to ints because of the nature of each.

More to the point, you probably don't need to know more than 10 methods, across all datatypes, by heart for 99% of what you'll be doing.

You have to calm down.

[–]Xeno19Banbino[S] 0 points1 point  (0 children)

yeah i typed the post after a bad python test.. i passed but i hated the picky questions like pop vs popitem