Question:
The following snippet of code has a SyntaxError. What is missing from this code?
for name in ['Diana', 'Bruce', 'Arthur'] if len(name) > 5: print(‘Aquaman’)
Question:
The following snippet of code has a SyntaxError. What is missing from this code?
for name in ['Diana', 'Bruce', 'Arthur'] if len(name) > 5: print(‘Aquaman’)