I Haz Codes
Enter the code below. Currently the program will print out the numbers from 1 to 10. We are going to change it so it prints out the first 10 even numbers. It should display the following –
2
4
6
8
10
12
14
16
18
20
Change the code as follows –
x = 0
while x <= 10:
print(x)
x = x + 1
| sana2123 | ohm |
| socrazy | levelcap115 |
| milokavanagh | shinx284680 |
| isa123 | s-saeed |
| hassanosman | george_large |
Leave a Reply