PFP191_-_PE_-_SP_2024_-_Block_5_1902.webp
L

PFP191_-_PE_-_SP_2024_-_Block_5_1902.webp

  • Media owner Ling2000
  • Ngày thêm
1. Prints a list of Fibonacci sequences with n numbers entered from the user. (1 point)
Note: The Fibonacci Sequence is the series of numbers:0, 1, 1, 2, 3, 5, 8, 13, 21, ....,n
Every next number is found by adding up the two numbers before it.
The output should be:
Your selection (1 -> 3):
1
Enter a number: 10
OUTPUT
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
2. Print a triangle. (1 point)
The output should be:
+ 100%
Zoom

Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PFP191_-_PE_-_SP_2024_-_Block_5_1902.webp
File size
167.5 KB
Dimensions
1920px x 813px

Share this media

Back
Bên trên Bottom