Question: Please help me identify the type of error for each code 1) a) Syntax Error b) Semantic Error c) Logic Error 2) color = green

Please help me identify the type of error for each code

1)

Please help me identify the type of error for each code 1)

a) Syntax Error

b) Semantic Error

c) Logic Error

2)

color = "green" favColor = "pink"

if favCalor = "pink" :

print ( "Think pink !")

elif color = "green":

print ("Go green")

else:

print("no color")

a) Syntax Error

b) Semantic Error

c) Logic Error

3)

teamName = "Green Team"

firstScore = 90

secondScore = 75

average = ( firstScore+secondScore)/2

print( "Team "+teamName+" Average Score: ")

print( teamName+" a score")

a) Syntax Error

b) Semantic Error

c) Logic Error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!