View Code? Open in Web Editor
NEW
This project forked from rachelatflatiron/east-se-073123-phase-3-python
east-se-073123's Introduction
![image](./trajectory.png)
Python |
Javascript |
None |
undefined/null |
&& |
and |
|| |
or |
== (no type checking) |
=== (type checking) |
True/False |
true/false |
ipdb.set_trace() |
debugger |
snake_case |
camelCase |
f"{interpolate}" |
`${interpolate}` |
"true result" if "condition" else "default" |
"condition" ? "true result" : "default result" |
if...elif...else |
if...else if...else |
try...except... |
try...catch... |
def: |
function{} |
If a function has params you have to pass in args for those params (otherwise you can set a default) |
If a function has params JS will not throw errors if you do not pass in args for said params |
Variables need to immediately be assigned a value when created |
Variables do not need to be immediately assigned a value when created |
east-se-073123's People
Contributors