Question: 6. Write a conditional statement if else) which checks the first element in a list index zero) and assign answer 1 to 'Yes' If the
6. Write a conditional statement if else) which checks the first element in a list index zero) and assign answer 1 to 'Yes' If the first element is equal to strawberry else it should assign answer 1 to "No". In 1: Ist("Mango", "Kiwi", "Melon", "Cherry" answer_1 #Type your code here print (answer 1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
