python || please help || what will be the output
Anonymous User
887

'''
def foo(value):
while True:
value = (yield value)
bar = foo(1)
print(next(bar))
print(next(bar))
print(bar.send(2))
'''

options a) 1 1
b) 1 1 2
c) 1 None 2
d) 1 None None

Comments (1)