print('%3.3f" % 1/3)
You start with a single quote and finish with a double quote
print('%3.3f' % 1/3)
or print("%3.3f" % 1/3)
will work just fine
solved print syntax in v2.7 not compatible in v3.4? [duplicate]
print('%3.3f" % 1/3)
You start with a single quote and finish with a double quote
print('%3.3f' % 1/3)
or print("%3.3f" % 1/3)
will work just fine
solved print syntax in v2.7 not compatible in v3.4? [duplicate]