182 | | Hint use range if you want to loop over a sequence of numbers. Answer is [wiki:ProgrammingAnswerPotatoExercise here]. |
| 182 | I'll give you three hints: |
| 183 | 1 You can tell a print to not end with a new line by adding an end="" to the print statement, like ''print("Im a teapot!",end=""). |
| 184 | 1 An empty print statement (''print("")'' just prints a new line. |
| 185 | 1 If you want to loop over a set of numbers, use range(). For example for i in range(1,10) will make i go from 1 to 10 incrementing 1 each time. |
| 186 | |
| 187 | Yeah, this is a little, harder, but I bet you can do it. Ask a neighbor for help if you need to. Answer is [wiki:ProgrammingAnswerPotatoExercise here]. |