Computer Science, asked by Anonymous, 9 days ago

PYTHON CHALLENGE #6

FIND THE ERROR

name= "BRAINLY"

if B in name:
print('yes')

elif A in name
print('yes u are right')

else:
print('NO')



DO IT YOURSELF


YESTERDAY CHALLENG WINNER:shivangiryan


GO AND CRACK IT

Answers

Answered by Anonymous
1

Answer:

name= "BRAINLY"

if "B" in name:

   print('yes')

elif "A" in name:

   print('yes u are right')

else:

   print('NO')

#hope it helps you...

Similar questions