|
38 | 38 | "source": [ |
39 | 39 | "Double Click HERE to edit this markdown cell and write answers.\n", |
40 | 40 | "\n", |
41 | | - "Numbers:\n", |
| 41 | + "Numbers:\n"store numerical information and come in two forms Integers-whole numbers Floating point-numbersbs with decimal point, |
42 | 42 | "\n", |
43 | | - "Strings:\n", |
| 43 | + "Strings:\n"ordered sequence of characters, |
44 | 44 | "\n", |
45 | | - "Lists:\n", |
| 45 | + "Lists:\n"ordered sequence of objects, |
46 | 46 | "\n", |
47 | | - "Tuples:\n", |
| 47 | + "Tuples:\n"ordered immutable sequence of objects, |
48 | 48 | "\n", |
49 | | - "Dictionaries:\n" |
| 49 | + "Dictionaries:\n"unordered kry value pairs |
50 | 50 | ] |
51 | 51 | }, |
52 | 52 | { |
|
55 | 55 | "source": [ |
56 | 56 | "## Numbers\n", |
57 | 57 | "\n", |
58 | | - "Write an equation that uses multiplication, division, an exponent, addition, and subtraction that is equal to 100.25.\n", |
| 58 | + "Write an equation that uses multiplication, division, an exponent, addition, and subtraction that is equal to 100.25.\n"60+(10**2)-134.75, |
59 | 59 | "\n", |
60 | 60 | "Hint: This is just to test your memory of the basic arithmetic commands, work backwards from 100.25" |
61 | 61 | ] |
|
75 | 75 | "source": [ |
76 | 76 | "Answer these 3 questions without typing code. Then type code to check your answer.\n", |
77 | 77 | "\n", |
78 | | - " What is the value of the expression 4 * (6 + 5)\n", |
| 78 | + " What is the value of the expression 4 * (6 + 5)\n"44, |
79 | 79 | " \n", |
80 | | - " What is the value of the expression 4 * 6 + 5 \n", |
| 80 | + " What is the value of the expression 4 * 6 + 5 \n"29, |
81 | 81 | " \n", |
82 | | - " What is the value of the expression 4 + 6 * 5 " |
| 82 | + " What is the value of the expression 4 + 6 * 5 "34 |
83 | 83 | ] |
84 | 84 | }, |
85 | 85 | { |
|
95 | 95 | "cell_type": "markdown", |
96 | 96 | "metadata": {}, |
97 | 97 | "source": [ |
98 | | - "What is the *type* of the result of the expression 3 + 1.5 + 4?<br><br>" |
| 98 | + "What is the *type* of the result of the expression 3 + 1.5 + 4?<br><br>"IT IS FLOATING POINT |
99 | 99 | ] |
100 | 100 | }, |
101 | 101 | { |
|
0 commit comments