Coggle requires JavaScript to display documents.
try: do_something except: print("Something went wrong")
else, finally, pass, assert, raise
list, tuple, range
int, float, complex
long
.bit_length , .to_bytes, .from_bytes, .as_integer_ratio
.as_integer_ratio, .is_integer, .hex, .from_hex
set, frozenset
dict
['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
import keyword print(keyword.kwlist)
for i in range(5):
for elt in myList:
break, continue
if a<b: doThis elif a==b: doThat else: doNothing
# one line comment """ multiple line comment """