this code was a conversion from my prevous code i have written in C, what i like from python are it simplicity.... as you can compare from my prevous code
#exponent counter
y=input("input value : ") v=input("input limit : ")
for x in range (v+1): z=y**x print y, "exponent", x, "=", z
No comments:
Post a Comment