Explorar o código

Merge pull request #28 from bborysenko/patch-01

Fix print syntax
Swaroop C H %!s(int64=9) %!d(string=hai) anos
pai
achega
29d6923926
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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: