Python print function can be used with different ways to print

Опубликовано: 22 Март 2026
на канале: Engineering Dabba
4
0

Hello viewers hope you like this video this video will help you to use print functions according to your requirements.



Code:
var="engineering dabba"
inta=50
#basic
print(var,inta)
#concat
print("What is your channel name "+var+" Viewers per video",(inta))

#using f functions
print(f"What is your channel name type 2 {var} Viewers per video {inta} ")

abc=45
b2=12331421424

#using s,d
print("fhiefoef %s nkejdoejfe %s"%(var,inta))

print("fhiefoef %d nkejdoejfe %d"%(abc,b2))