Day 1
Concepts, Code Examples and Task
integer
mathematical operation
strings
built-in attributes of print function
float
boolean: True or false
if conditions, if a == True, while True (infinite)
variable names:
type, int, float, bool, string
type cast: cast a type (
input, adding string to integer
eval
boolean
r = google.com
e = request("google.com")
comparison types, > ,<, == (to check), = (assignment)
Compare strings
character encoding, h (23) -> binary
ord()
is, in - membership operator
in
or and
1 or 0
Last updated