You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/02-Declare-Variables/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ In this example, `name` is the variable, acting like a box to store the value `"
14
14
15
15
## 📝 Instructions:
16
16
17
-
1. Declare a new variable with the string value `"Yellow"` and print the value to the console.
17
+
1. Declare a new variable named `name`with the string value `"Yellow"` and print the value to the console.
18
18
19
19
2. Then, print its value on the console using `print(name)`.
20
20
21
21
## 💡 Hints:
22
22
23
-
+ The name of the variable can be whatever you want, but the value inside has to be the string "Yellow".
23
+
+ The variable's name must be `name` to pass the tests, and the value inside has to be the string "Yellow".
24
24
25
25
+ If you need further explanation on what **strings** are and how they work in Python, you can watch this clip: https://youtube.com/clip/UgkxyQ_JLmgSUL4l25c8Ly7cCRvk1Gm-EchU (`ctrl + click` on the link to open the video)
0 commit comments