0
print "Hello %s !!!" %("Pruthvish")
                ^
    SyntaxError: invalid syntax

When I run this in python IDLE it prints the output, but when I run this program through windows powershell it gives me syntax error. Why does this happen?

Azat Ibrakov
  • 9,998
  • 9
  • 38
  • 50
Pruthvish
  • 21
  • 3

1 Answers1

0

Put Brackets for print statement

print ("Hello %s !!!" %("Pruthvish"));