For each of the code fragments below, correct the error, or type OK if there is no error.
Code | Correction or OK | Explanation |
---|---|---|
type_sentence("Hi"); |
OK |
There is nothing wrong with sentence |
type_enter() |
type_enter(); |
must end with semi-colon(";") |
type_sentence"Namasthey" |
type_sentence("Namasthey"); |
sentence must written in "(" and ")" |
type_sentence(Coding); |
type_sentence("Coding"); |
Sentence should written in double quotes |
type_sentence("welcome); |
type_sentence("welcome"); |
double quotes must be closed |
type_Number(42); |
type_number(42); |
commands are case-sensitive. It should not be capital 'N' it should be small 'n'. |
type_sentnece("...And Now Yoga"); |
type_sentence("...And Now Yoga"); | avoid spelling mistakes in the commands |