Câu 6: 98-381: Introduction to Programming Using Python
HOTSPOT -You work for a company that distributes media for all ages. You are writing a function that assigns a rating based on a user's age. The function must meet the following requirements: ✑ Anyone 18 years old or older receives a rating of "A" ✑ Anyone 13 or older, but younger than 18, receives a rating of "T" ✑ A…
Nội dung câu hỏi
HOTSPOT -You work for a company that distributes media for all ages. You are writing a function that assigns a rating based on a user's age. The function must meet the following requirements: ✑ Anyone 18 years old or older receives a rating of "A" ✑ Anyone 13 or older, but younger than 18, receives a rating of "T" ✑ Anyone 12 years old or younger receives a rating of "C" ✑ If the age is unknown, the rating is set to "C"You need to complete the code to meet the requirements. Hot Area:
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
-
A. Lựa chọn A bằng hình ảnh — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.