Junior — Senior
What will this Python script output
livecode
Task condition
Execute the following Python code snippet and indicate what output will be obtained:
print({True: 'yes', 1: 'no', 1.0: 'maybe'})
print(['123', 'yes'][False][1])
livecode
Task condition
Execute the following Python code snippet and indicate what output will be obtained:
print({True: 'yes', 1: 'no', 1.0: 'maybe'})
print(['123', 'yes'][False][1])