CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 4: 98-381: Introduction to Programming Using Python

The ABC company is creating a program that allows customers to log the number of miles biked. The program will send messages based on how many miles the customer logs. You create the following Python code. Line numbers are included for reference only. You need to define the two required functions. Which code segments…

Nội dung câu hỏi

The ABC company is creating a program that allows customers to log the number of miles biked. The program will send messages based on how many miles the customer logs. You create the following Python code. Line numbers are included for reference only. You need to define the two required functions. Which code segments should you use for line 01 and line 04? Each correct answer presents part of the solution? (Choose two.)

Minh họa câu hỏi

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.

  1. A. 01 def get_name(): — đáp án hiện tại
  2. B. 01 def get_name(biker):
  3. C. 01 def get_name(name):
  4. D. 04 def calc_calories():
  5. E. 04 def calc_calories(miles, burn_rate):
  6. F. 04 def calc_calories(miles, calories_per_mile): — đá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.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề