the answer of first project(by me)

سوال شده توسط: Ali Ahmadi

تاریخ ثبت: ۱۴۰۰/۱۱/۱۲

بازدید: 298

پاسخ: 0

تگ: فلاتر Flutter


print("please entern an integer beewin 1 - 9 :")

a = input("(the normal type of number:)")


 

#fingilish: aghe ino cast nakoni be int, javabet eshtebah mishe

b = int(a)

print("the select number is : ", b)

print(b , " ok thats fine")

print(type(a))  

print(type(b))

#forget a

print("_______________________")


 

c = b * 2

d = c + 8


 

print(type(d))


 

e = d + b

f = e - 2

g = f/3

h = g - b

i = h * 4

j = int(i)


 

print(type(i))

print(type(j))

print("the answer is = ", j)

print("\n")

print("the game ended...")

print("_______________________")


 

برای ثبت پاسخ باید خود شوید

محبوب ترین مقالات