I wrote a simple loop program, also can run, but I want to ask, how can change i> 10 is output, because now I once I input Numbers is greater than 10 couldn't continue,
CodePudding user response:
S=int (input (' s=')) I=int (input (' I=)) While I & lt; 10: S *=I I +=1 Print (s)
CodePudding user response:
The if i<=10 the line get rid of? And the output & lt;=10 and & gt; 10 that get rid of it