- Python
- Programming language that lets you work quickly and integrate systems more effectively.
- Can be used for web and desktop application, scientific computing, and game development.
- Variable
- A name or label that you assign to the storage location whose value can be manipulated during the program execution.
- Dynamic Typing
- Allows variable to assign value of different type by reassigning value of different type.
- It doesn't know about the type of variable until the code is run.
- Input
- Function use to obtain input from user.
- Typically prompts a string.
'num1 = input("Enter a number: ")'
Enter a number: 20
'num1 + 20'
TypeError: must be str, not int
'num2 = eval(input("Enter a number: "))'
Enter a number: 20
'num2 + 20'
40