What is the expected behavior of the following code?

What is the expected behavior of the following code?

It will:
A . print 4321
B . print <generator object f at (some hex digits)>
C . cause a runtime exception
D . print 1234

Answer: B

Explanation:

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments