Print the numbers through , each on its own line.
Expected output:
1
2
3
4
5
Use a for loop with range() to generate the numbers. Remember that range(1, 6) gives you through because the end value is exclusive.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Use range()
Print the numbers through , each on its own line.
Expected output:
1
2
3
4
5
Use a for loop with range() to generate the numbers. Remember that range(1, 6) gives you through because the end value is exclusive.