Skip to content

Commit 427d342

Browse files
authored
Update tutorial.md
there was a python 2 syntax for python 3 tutorial
1 parent 6b62b14 commit 427d342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/lesson4/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ We can change the function to use a parameter. Let's change it so that it
6969
allows the user to specify the name they want to print:
7070

7171
>>> def print_name(name):
72-
... print "My name is " + name
72+
... print("My name is " + name)
7373
...
7474
>>> print_name("Lisa")
7575
My name is Lisa

0 commit comments

Comments
 (0)