PFP191_-_SU_2024_-_FE_2357.webp
T

PFP191_-_SU_2024_-_FE_2357.webp

Kizspy | Question: 36
(Choose 1 answer)
For the following code, which of the following statements is true?
def printHello():print("Hello")a = printHello()
A. PrintHello() is a function and a is a variable. None of them are objects.
B. Both printHello() and a refer to the same object.
C. PrintHello() and a refer to different objects.
D. Syntax error! You cannot assign function to a variable in Python.

Thông tin

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

Share this media

Back
Bên trên Bottom