When Code Breaks
Programming languages have strict rules.
If you break those rules, the computer refuses to run your program.
This type of mistake is called a syntax error.
Think of syntax like grammar in English.
If you write:
pritn("hello")
The computer does not “guess” what you meant.
It simply stops and throws an error.
Even small mistakes... capital letters, missing brackets, spelling errors... will prevent your program from running.
Assignment:
Players are complaining because World of Software Engineering won’t even load. They pay $20 per month to access the game, so we need to fix this immediately. There is a syntax mistake in the code below. Find the error and correct it so the welcome message displays properly.
Players are complaining because World of Software Engineering won’t even load. They pay $20 per month to access the game, so we need to fix this immediately. There is a syntax mistake in the code below. Find the error and correct it so the welcome message displays properly.
Fix the syntax error
Print("Welcome to Software Engineering Quest!")