Spaces:
Running
Running
Create 15b. Match class name and element
Browse files
Week 2: Methods, strings and lists/15b. Match class name and element
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Connect the class 'name and the elements of the list to each other!
|
| 2 |
+
|
| 3 |
+
Boolean
|
| 4 |
+
[true, false, false]
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
String
|
| 8 |
+
["a", "b", "c"]
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
Double
|
| 12 |
+
[34.0, 22.22, -111.11]
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
Character
|
| 16 |
+
['a', '', 'z', '*"]
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
Float
|
| 20 |
+
[1.5f, 2.2f, 0.003f]
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
Integer
|
| 24 |
+
[-5, -6, -3, -1, -100]
|