Jelajahi Sumber

Merge pull request #28 from bborysenko/patch-01

Fix print syntax
Swaroop C H 9 tahun lalu
induk
melakukan
29d6923926
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      basics.md

+ 3 - 3
basics.md

@@ -283,13 +283,13 @@ Type and run the following program:
 ```python
 # Filename : var.py
 i = 5
-print i
+print(i)
 i = i + 1
-print i
+print(i)
 
 s = '''This is a multi-line string.
 This is the second line.'''
-print s
+print(s)
 ```
 
 Output: