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: python/lesson2/tutorial.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,18 +31,18 @@ Now type `profit` to see the results of this calculation.
31
31
32
32
Now work out how much money a sponsor at codebar would spend on pizza if they had 60 students turn up?
33
33
34
-
Along with pizza, students and cost, what oher variables can you think of that could go into this calculation?
34
+
Along with pizza, students and cost, what other variables can you think of that could go into this calculation?
35
35
36
36
### Storing text in variables
37
37
38
-
As well as numbers varaiables are able to store text, known in Python as strings.
38
+
As well as numbers variables are able to store text, known in Python as strings.
39
39
40
-
Now in the REPl type:
40
+
Now in the REPL type:
41
41
42
42
name = 'codebar'
43
43
url = "codebar.io"
44
44
45
-
Now type `name' and `url` to see these strings shown back to you. As you can see Python allows both single and double quotes to denote a string variable. Double quotes are required if there is going to be an apostrophe in the string.
45
+
Now type `name` and `url` to see these strings shown back to you. As you can see Python allows both single and double quotes to denote a string variable. Double quotes are required if there is going to be an apostrophe in the string.
0 commit comments