Great cheatsheet! Thanks a lot! I've been learning for a while but it's always handy to have it summed up. I think there is one misconception regarding deleting items in lists. The description might be misleading:
'Deleting a value is somewhat weird
del numbers # Will delete the value in the appropriate position. "one", "two", "three", "four"]'
del numbers will delete the second item, the description might suggest something else.
del numbers will delete the first one. You just forgot to add "zero" to the numbers list.
Thank you for all the great work. Much appreciated!
Thank you. Will update that 😊
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.