Answers for "print output to string python"

0

print in python

# hello world
print("hello world")

#usage of sep()
print(10,1,2001,sep="/")

#usage of end()
l = ["d","x","4","i","o","t"]
for i in l:
    print(i,end="")
Posted by: Guest on December-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language