A Search for the Truth: What will the following segment of code print? Try solving it verbally.

if True or True:
    if False and True or False:
        print('A')
    elif False and False or True and True:
        print('B')
    else:
        print('C')
else:
    print('D')
Tags
programsbuzz banner