











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Course Leader: Jishmi Jos Choondal Department of Computer Science and Engineering Faculty of Engineering and Technology M. S. Ramaiah University of Applied Sciences
Display on the Screen
Double quotes
print("Hello {}, your balance is {}.".format("Adam", 230.2346))
print("Hello {0}, your balance is {1}.".format("Adam", 230.2346)) #keyword arguments print("Hello {name}, your balance is {blc}.".format(name="Adam", blc=230.2346))
print("Hello {0}, your balance is {blc}.".format("Adam", blc=230.2346))