Q1_20250816073325.webp
Y

Q1_20250816073325.webp

  • Media owner Yuta2003
  • Ngày thêm
Kizspy.me
Question 3: (2 points)
Highest USD: 24.8 on 2025-06-04
Lowest USD: 24.3 on 2025-06-05
Figure 2. Illustration of the result for question 2
Calculate the percentage change in USD between the first and last day.
Write a function named: calculate_usd_change_percent()
Task 1: Find the values on the first and last dates.
Task 2: Calculate the percentage change using the formula:
((last first)/first) * 100
USD changed by -0.82% from 2025-06-01 to 2025-06-05
Question 4: (2 points)
Figure 3. Illustration of the result for question 3
Plot a line chart showing the trend of USD exchange rate over time (using
matplotlib).
Write a function named: plot_usd_trend()
Task 1: Retrieve the data of USD.
Task 2: Save to an image (usd_trend.png).
USD Exchange Rate Over Time
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom