INFO1110 Lecture Notes - Lecture 9: Sublime Text, Visual Studio Code, Order Of Merit

9 views1 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents