INFO1110 Lecture Notes - Lecture 9: Sublime Text, Visual Studio Code, Order Of Merit
Document Summary
Choose your favourite: visual studio code (https://code. visualstudio. com/, atom (https://atom. io/, sublime text (https://www. sublimetext. com/3, nano, vim. The print function can be used to print things to the terminal. You need to invoke the print function with parentheses () and pass inside the parenthesis what you want it to print. print("hello, world!") print(42) Everything on your computer is stored as zeros and ones (binary), each zero or one is known as a bit. A variable is memory space, reserved by a name (identi er). There are two types of variables: primitive: these use a xed amount of memory, object: memory used for objects can changed over time. Objects are covered in more detail in week 6. When working with variables: declare a variable, initialise the variable, use the variable. By declaring variables, you can now refer to the reserved memory space by its name. Give your variable a value by initializing it.