I'm practicing a course exercise and came across the following error below. I am using Python 3.7. What is the problem with this typing?
convite = 'Flavio Henrique Almeida'
parte1 = convite[0:4]
parte2 = convite[11:15]
print "%s %s" % (parte1, parte2)
Error:
File "<stdin>", line 1
print "%s %s" % (parte1, parte2)
^
SyntaxError: invalid syntax