Test |
CISC106 /
AtomicDataNumbersTwo types, integers and floating point numbers. Will talk about implementation/others later but for now just these two types. type(5) #int
type(5.5) #float
Strings'hello'
"hello"
type("hello")
"hello" + " " + "world"
BooleansTrue
False
True and True
True or False
built-in functions can convert between typesstr(500)
int("500")
|