0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
1 Posted Topic
Re: Simpler program: you should type line by line so the indents come into it [CODE]#A program to determine how long it takes for an investment to double def main(): I=input("What is the annualized interest rate as a decimal?: ") i=0 z=1 while z<2: i=i+1 z=(z*(1+I)) if z>=2: print i main()[/CODE] |
The End.