MACHINE LEARNING

APPLICATION OF SUPERVISED LEARNING

ARTIFICIAL INTELLIGENCE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What of the following would be an example of a Syntax bug? (3 answers)
A
print(^Hello!^)
B
print("Hllo")
C
prnt("Hello!")
D
print("Hello!)
Explanation: 

Detailed explanation-1: -print() Syntax in Python Objects get converted to a string before printing. sep is an optional parameter that specifies how more than one object are separated. The default is ‘ ‘ – a space. end is an optional paramater that specifies with what the line will end.

Detailed explanation-2: -Inappropriate comma usage. Misplaced or inappropriately used punctuation can instantly change the meaning of phrases and the way a sentence reads aloud. Using sentence fragments instead of complete sentences. Squinting modifiers. 11-Aug-2021

Detailed explanation-3: -leaving out a keyword. putting a keyword in the wrong place. leaving out a symbol, such as a colon, comma or brackets. misspelling a keyword. incorrect indentation. empty block.

There is 1 question to complete.