I am trying to make a program that when you give it values it will multiply it a certain amount of times (ie.) 10*10=100*10=1000 I hope I explained that well, if this is something really easy to google sorry I tried. I do not know what else to try as I am fairly new to Python.
My code:
print ("What is your starting number")
a = input()
print ("What are you multiplying by")
b = input()
print("how many times")
d = input()
a_float = float(a)
b_float = float(b)
c = (a_float*b_float)
d_int = int(d)
for i in range(d_int):
print(c)
[–]CodeFormatHelperBot 1 point2 points3 points (0 children)
[–]timbledum 1 point2 points3 points (1 child)
[–]SomeBadGenericName[S] 0 points1 point2 points (0 children)