6 ответов
+ 7
Or: print("{} {}".format(x, y)) if the '+' was just to join x and y
14th Feb 2018, 6:44 AM
David Ashton
David Ashton - avatar
+ 8
This works: print("{} + {}".format(x, y))
14th Feb 2018, 6:39 AM
David Ashton
David Ashton - avatar
+ 4
print("{x} {y}".format.......)
14th Feb 2018, 5:57 AM
Oma Falk
Oma Falk - avatar
+ 4
print(int(x) + y)
14th Feb 2018, 7:49 AM
Oma Falk
Oma Falk - avatar
+ 1
How can I add them up?
14th Feb 2018, 7:40 AM
Raphael Shay
Raphael Shay - avatar
0
Thanks!
14th Feb 2018, 6:08 AM
Raphael Shay
Raphael Shay - avatar