Computer Science, asked by jpsripika, 1 month ago

Rectify the error in the following statements: 3 b=true city=”Bangalore’ amt=80.5.0 print(“City =”, City)​

Answers

Answered by Akhilan30806
1

Answer:

b = true

ans: b=True or b='true'

city="Bangalore'

ans: city="Bangalore" or city='Bangalore' [ should use either single or

                                                                      double quotes]    

amt=80.5.0

ans: amt=80.50 or amt='80.5.0'

print("City=",City)

ans:print("City=",city)    [ variable name is case sensitive]

Similar questions