The prompt is a grammatical error. Find the upper and lower positions of the prompt line. In fact, the problem lies in these two lines:
The parameters passed in by the 1.range function must be integers, not floating-point data. You should write: for step in range (1, 10), but you wrote: forstep in range (1. 10),1,1and1.
2. Then the code under the for loop should be indented by four spaces.
3. Then input is a keyword. In principle, keywords should not be reassigned as variables. This is not impossible. Try not to do this.