0
Fill in the blanks to print "Yes" if the list contains 'z': letters = ['a', 'b', 'z'] "z" letters: print("Yes")
3 Answers
+ 4
if and in is the correct answer
0
Post your question clearly with explaning your doubt....
letters =[ 'a', 'b', 'z' ]
if 'z' in letters : print("Yes")
Edit:
https://www.sololearn.com/discuss/333866/?ref=app
- 1
This page is for Q&A only. You can post that on your page