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
name = 'John'
age = 34
print('Hello I am %s' % name + ', and
I am %i years old!' % age)
√ output
Hello I am John, and I am 34 years
old!
Sign up here with your email

ConversionConversion EmoticonEmoticon