h='{0} {1} {2}, {3} {4} {5}'
g=h.format('life','is','short','you','need','Python')
print(g)
g=h.format('life','is','short','you','need','Python')
print(g)
2025-04-21
h='{a} {c}, 8rnuvfj {e} {f}'
a1 ='list'
b1 = 'is'
c1 ='short'
d1 = 'you'
e1 = 'need'
f1 = 'Python'
g=h.format(a=a1,b=b1,c=c1,d=d1,e=e1,f=f1)
print(g)
a1 ='list'
b1 = 'is'
c1 ='short'
d1 = 'you'
e1 = 'need'
f1 = 'Python'
g=h.format(a=a1,b=b1,c=c1,d=d1,e=e1,f=f1)
print(g)
2025-04-21