@anonymous/

BelatedAttachedDevices

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
result = 1
number = int(input("Type in a number: "))
while number > 0:
  result *= int(number % 10)
  number= int(number//10)
  
print("result is ", result)

result2 = 1
while result > 0:
  result2 *= int(result % 10)
  result= int(result//10)
print("result 2 is ", result2)

result3 = 1
while result2 > 0:
  result3 *= int(result2 % 10)
  result2= int(result2//10)
print("result 3 is ", result3)

result4 = 1
while result3 > 0:
  result4 *= int(result3 % 10)
  result3= int(result3//10)
print("result 4 is ", result4)

result5 = 1
while result4 > 0:
  result5 *= int(result4 % 10)
  result4= int(result4//10)
print("result 5 is ", result5)

result6 = 1
while result5 > 0:
  result6 *= int(result5 % 10)
  result5= int(result5//10)
print("result 6 is ", result6)

result7 = 1
while result6 > 0:
  result7 *= int(result6 % 10)
  result6= int(result6//10)
print("result 7 is ", result7)

result8 = 1
while result7 > 0:
  result8 *= int(result7 % 10)
  result7= int(result7//10)
print("result 8 is ", result8)

result9 = 1
while result8 > 0:
  result9 *= int(result8 % 10)
  result8= int(result8//10)
print("result 9 is ", result9)

result10 = 1
while result9 > 0:
  result10 *= int(result9 % 10)
  result9= int(result9//10)
print("result 10 is ", result10)

result11 = 1
while result10 > 0:
  result11 *= int(result10 % 10)
  result10= int(result10//10)
print("result 11 is ", result11)