print('Welcome to {} training of {} language'.format('tinitiate.com', 'python')) # OUTPUT: Welcome to tinitiate.com training of python language # The order can be substituted by the numbers `{1}` ...
Write a program that prints the string "My name is " followed by your name like in the output example. All words in this string must be separated by a single space.
One thing to note here is you can also use double triple quotes for multiline strings(""" """ like this). Do you remember I said(ok wrote) there is something called unassigned strings in this post?
Learning Python often begins with a simple yet powerful exercise: printing “Hello, World!” to the screen. This one-liner doesn’t just display text—it’s your first step toward mastering Python ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results