links
thoughts
i've been learning python since taking my introductory course for computer science. 3 months into the course, i've noticed that python's syntax is very very similar to javascript! instead of things having those curly brackets { }
you just have colons :
and then indent your way into the code.
the other day i had an insane discovery in class when the professor started explaining this bit of python code in class:
and i was like wait a minute.... this is kinda doing that thing i do in JS with i = 0; i < THING.length; i++
and i found that very very cool.
cheatsheet
len()
returns the length of a list