איך מדפיסים string בpython ?

דוגמאות

example 1
str1 = 'this is a string'
print str1

will print : this is a string


example 2
x = 10
y = 20
(print 'value of x is {0}, value of y is {1}'.format(x,y

will print : value of x is 10, value of y is 20

 
למעלה