- 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.

16th Aug 2020, 1:43 PM
Jash Sampat
1 Resposta
+ 1
if z in letters: try this
16th Aug 2020, 1:52 PM
Allamprabhu Hiremath