55 digits, but they have to begin with a letter or an underscore. Although it is
66 legal to use uppercase letters, by convention we don't. If you do, remember
77 that case matters. <c >Bruce</c > and <c >bruce</c > are different variables.</p >
8- <caution >
8+ <warning >
99 <p >Variable names can never contain spaces.</p >
10- </caution >
10+ </warning >
1111 <p >The underscore character ( <c >_</c >) can also appear in a name. It is often used in
1212 names with multiple words, such as <c >my_name</c > or <c >price_of_tea_in_china</c >.
1313 There are some situations in which names beginning with an underscore have
@@ -153,7 +153,7 @@ class = "Computer Science 101"</pre>
153153 <p >Programmers generally choose names for their variables that are meaningful to
154154 the human readers of the program — they help the programmer document, or
155155 remember, what the variable is used for.</p >
156- <caution >
156+ <warning >
157157 <p >Beginners sometimes confuse <q >meaningful to the human readers</q > with
158158 <q >meaningful to the computer</q >. So they'll wrongly think that because
159159 they've called some variable <c >average</c > or <c >pi</c >, it will somehow
@@ -166,7 +166,7 @@ class = "Computer Science 101"</pre>
166166 the programmer, have to write some program code to calculate the average,
167167 or you must write an assignment statement to give a variable the value you
168168 want it to have.</p >
169- </caution >
169+ </warning >
170170 <p >
171171 <term >Check your understanding</term >
172172 </p >
0 commit comments