The "print" statement should not be used
python:PrintStatementUsage
The print
statement was removed in Python 3.0. The built-in function should be used instead.
Noncompliant Code Example
print '1' # Noncompliant
Compliant Solution
print('1')
python:PrintStatementUsage
The print
statement was removed in Python 3.0. The built-in function should be used instead.
print '1' # Noncompliant
print('1')