Tuesday, February 25, 2020

Print output in python language

s="anil"
a=5

print("This is {}".format(s))
print("this is %s"%s)
print('"anil" is thurum\n',end="")
print('"anil" is Thopu')
print("'anil' is daily labour")
b=print(5*4)
print(b)

output:
This is anil
this is anil
"anil" is thurum
"anil" is Thopu
'anil' is daily labour
20
None

No comments:

Post a Comment

python class topic video