PRP201c_-_FA_2024_-_FE_3168.webp
D

PRP201c_-_FA_2024_-_FE_3168.webp

Kizspy | Question: 41
(Choose 1 answer)
What is the difference between print and return statements in a Python function?
A. print outputs a value to the console, while return exits the function and provides a value.
B. print exits the function, while return continues execution.
C. print and return are interchangeable in function execution.
D. return outputs a value to the console, while print exits the function.

Thông tin

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

Share this media

Back
Bên trên Bottom