In [7]:
print("Hello, world")
In [2]:
# Python 2 version
print("Hello, world")
In [3]:
print(“Hello world“)
In [5]:
print("Hello world")
In [8]:
import unicodedata
In [10]:
# Good double quote:
unicodedata.category('"')
Out[10]:
In [13]:
# Good single quote
unicodedata.category("'")
Out[13]:
In [9]:
# BAD...double quote
unicodedata.category('“')
Out[9]:
In [14]:
# BAD...single quote
unicodedata.category("`")
Out[14]:
SOLUTION: Paste code into a basic text editor first, then replace quotes if you suspect thay are causing a problem.
In [ ]:
name = input()
print("Hello" + name)
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]: