Question: 1. (2 points) What is wrong with your program if running it produces a SyntaxError? 2. (1 point) Mark the error/exception type that is produced
1. (2 points) What is wrong with your program if running it produces a SyntaxError? 2. (1 point) Mark the error/exception type that is produced for the given program? total = 3 + 2 + 4 + 2 O SyntaxError = count 4 O NameError avg = total / count O TypeError O No error produced 3. (1 point) Mark the error/exception type that is produced for the given program? print("Hello" / "world") O SyntaxError NameError OTypeError No error produced 4. (1 point) Mark the error/exception type that is produced for the given program? miles = 300 gallons = 10 print(miles / galons) SyntaxError NameError OTypeError No error produced 5. (1 point) Mark the error/exception type that is produced for the given program? SyntaxError print("3" > 2) NameError OTypeError O No error produced 6. (1 point) Write an expression that would produce a SyntaxError
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
