TypeError occurs when using + with int and str. Convert strings to integers before using addition. Input() function always returns string, even for numbers. Use int() or float() to convert strings to numbers
abs() returns absolute value of numbers or complex numbers. next() and next(async) return next item from asynchronous iterators. bool() returns True or False value. breakpoint() enters debugger at call site. eval() executes Python expressions with global and local scopes
Java is statically-typed, requiring variable declaration before use. Primitive types are predefined by language and named by reserved keywords. Primitive values don't share state with other primitive values
Python has five main types: numerics, sequences, mappings, classes, instances and exceptions. Collection classes can be mutable, but methods returning None don't modify original. Objects can be compared, tested for truth value and converted to strings
C is widely used in embedded devices and powers most internet servers. It's a compiled language that generates binary files for execution. C is statically typed, meaning variables have associated types at compile time
Integer types store whole numbers with various ranges. Integer is most common choice for balance between range and performance. Smallint used when disk space is limited. Bigint used when integer range is insufficient