pub-3785248829033902 | Python: Strings #2 | - Big data with Python

| Python: Strings #2 |

The best way to learn new things is to take a practical approach of the things you want to learn. Here is a fragment of code that demonstrates the use of the string statement in Python:


Æ’ python command

print('My favorite number is %d' %66)
print('like the road\n she fears')

output

My favorite number is 66
like the road
she fears    
  
Previous
Next Post »