Computer Science, asked by kamalakannan833, 9 months ago

Find the errors in the following code. for Name in [Allen, John, Smith]
IF Name[0] = 'J' :
print(Name)

Answers

Answered by theutpal
0

Answer:

IF Name[0] = 'J' :

Instead of this...

It should be like this...

IF Name[0] == 'J' :

Similar questions