Binary Hacks
Binary Hacks
Ideas:
- Put the numbers under each light to show what number you are adding
Notes: Unit 3.1 Variables and Assignments Python:
- For number variables you set the name and the value
- Boolean variables are true or false
- You can append to a list to add values to it Java:
- Define a variable with var
- const sets a value that doesn't change
3.2 Data Abstraction Python:
- In AP Exams index values start with 1 not 0
- You can break down lists into more lists
- Len gives you how many items are in the list
- Split function splits a string into a list
- The function .join makes a list into a single string Java:
- Combine previous lists to create new lists with new data
- Convert Java output to HTML for a nice table and output