0

Fill in the blanks to print "Yes" if the list contains 'z': letters = ['a', 'b', 'z'] "z" letters: print("Yes")

26th Apr 2020, 10:25 AM
Reshma Ramesh Jadhav
Reshma Ramesh Jadhav - avatar
3 Réponses
+ 4
if and in is the correct answer
24th Oct 2022, 10:01 AM
Syed Arsh Farooqui
Syed Arsh Farooqui - avatar
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
26th Apr 2020, 9:45 PM
Jayakrishna 🇮🇳
- 1
This page is for Q&A only. You can post that on your page
26th Apr 2020, 10:35 AM
Justus
Justus - avatar