#python

Published: 21 September 2024
on channel: Mastering Technology
59
4

#python #interpolation #módulo #operator
Python String Interpolation / Formatting, Substitution of Variables

Using Modulo % Operator

String- %s Integer- %d

Code:
place= "Taj Mahal"
number= 7
print("%s is one of the %d wonders" %(place,number))





#like #share #subscribemychannel


On this page of the site you can watch the video online #python with a duration of hours minute second in good quality, which was uploaded by the user Mastering Technology 21 September 2024, share the link with friends and acquaintances, this video has already been watched 59 times on youtube and it was liked by 4 viewers. Enjoy your viewing!