Question: (b) Write a Python program to display integers from 20 to 2 by using while loop. The difference between each number is 2 (Remark: follow

(b) Write a Python program to display integers from 20 to 2 by using while loop. The difference between each number is 2 (Remark: follow the format and symbol of sample program output below). [4 marks] (c) Write a Python program to prompt user to: input number of row(s) (store in a variable named: rows). input number of column(s) (store in a variable named: columns). finally display rectangular pattern (print by pound symbol (\#)) on the screen by using nested for loops statement. (See sample program output below) (Use range () to manipulate values from the variables rows and columns in the nested for loops). [6 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
