Lists Operations | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 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