איך מדפיסים string בpython ? אני מומחה לתכנות אבל בזה נתקעתי.
ג גיא שטיין New member 21/6/18 #2 דוגמאות 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
דוגמאות 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