- 1
Lists Operations
Fill in the blanks to print "Yes" if the list contains 'z': letters = ['a', 'b', 'z'] "z" letters: print("Yes") Please explain.
1 Answer
+ 1
if z in letters: try this
Fill in the blanks to print "Yes" if the list contains 'z': letters = ['a', 'b', 'z'] "z" letters: print("Yes") Please explain.