Q1_20251108110330.webp
S

Q1_20251108110330.webp

3. Draw a hollow right triangle with one side being the
Fibonacci sequence with the row entered by the user, as
shown in the example below. (1 point)
The output should be:
3
Your selection (1 -> 3):
Enter the number of rows: 5
OUTPUT
1
1*
2 *
3
*
5****
Question 2 (3 points)
Write a program in Python that reads a text file
"data.txt" (attached in the given and the file name is
Zoom
- FUO
entered from the keyboard) containing many integer
numbers.
1. Read each number in the file and print them on the
screen. (1 points)
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom