• Create an array with duplicate items, then count them. Convert the array to a set, then count the items. Checkpoint Thoughts: Coolness.

    ·

  • Complex data types 2 Type annotation – lets us dictate what data type each variable and constant should be Type annotation Sometimes we want to override the default or we want to instantiate without defining the values. Explicit Types When its unnecessary… But it is necessary when creating an empty array Enums Tip Prefer type…

    ·

  • Complex Data Types 1 I’m not going to write more than necessary here. How to store ordered data in Arrays Capped on both ends with square brackets. Ex: To get the value via index. Indexes start w 0. Add data like so: Ex: Did you know: You can not mix data types in arrays. Type…

    ·

  • Convert temp from Celcius to Fahrenheit. Here’s what I did: Thoughts:With something like this I wonder why the celsius needs to be a constant. I know I can write a function that will take a parameter to make this a bit more useful but I guess its just about nailing these building blocks. Onward.

    ·

  • Simple Data types Booleans Boolean store binary data true || false How to store truth: Fun fact: Booleans are named after mathematician, George Boole who put in at least 10,000 hours researching and writing about logic Negating a boolean is simple with the use of the exclamation point Scored 6/6 Doubles and Booleans How to…

    ·