You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
M
سلام
یک متغیر از نوع عددی تعریف می کنی بعد هر مقداری که گرفتی با مقدار قبلی متغیر جمع میکنی
-
M
برای ورود عدد تکه کد زیر را بنویس:
a = a + text1.text
""=text1.text
برای حساب مجموع بنویس :
print a