Question from the Python test

What is the output of the following Python code? ``` G = '123' print(G + 1) ```

Hard

Given the following Python code:

def mygen(maxint):
    a=0
    while a < maxint:
        a = a+1
        sd = yield a

G=mygen(4)
Author: Antoine BrennerStatus: PublishedQuestion passed 1951 times
Edit
4
Community EvaluationsNo one has reviewed this question yet, be the first!