Python Syntax Error Help

python

#1

What is wrong with script? I want to print the variable Mom.

Ryan = 17
Mom = 50

print Mom


#2

In MVS it is reading an error…


#3

If your IDE is version 3.x, then you need to use the correct syntax for the print function.

print (Mom)

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.