{F43DB27C-8F88-40FA-823A-12213D6ADE08}.webp
N

{F43DB27C-8F88-40FA-823A-12213D6ADE08}.webp

Question 1 (3 points)
Write a python program that uses a for loop to print
rectangles and parallelograms with asterisks, as shown
below. The inputs are the side length of the
parallelogram entered by the user.
1. Print an empty rectangle. (0.5 point)
The output should be:
1
Your selection (1 -> 5):
Please enter the width of the parallelogram: 6
Please enter the height of the parallelogram: 4
OUTPUT
2. Print an empty parallelogram. (0.5 point)
The output should be:
2
Your selection (1 -> 5):
Please enter the width of the parallelogram: 6
Please enter the height of the parallelogram: 4
OUTPUT
**
Chưa có bình luận nào.

Thông tin

Category
PFP191
Thêm bởi
nghiaisme198
Ngày thêm
Lượt xem
6
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom