Python Syntax, Indentation, Execute Python & Statements – Chapter-1 Set 1
Question 1 of 20
What is Python syntax?
Question 2 of 20
Why is correct Python syntax important?
Question 3 of 20
Which code correctly displays Hello?
Question 4 of 20
What does case-sensitive mean in Python?
Question 5 of 20
What are Python keywords?
Question 6 of 20
What symbol is used to create a single-line comment in Python?
Question 7 of 20
What is Python indentation?
Question 8 of 20
Why is indentation important in Python?
Question 9 of 20
How many spaces does Python recommend for indentation?
Question 10 of 20
What error can occur when indentation is incorrect?
Question 11 of 20
What does execute mean in Python?
Question 12 of 20
Which of these can be used to execute Python programs?
Question 13 of 20
What is the file extension of a Python file?
Question 14 of 20
What does the print() statement do?
Question 15 of 20
What does the input() statement do?
Question 16 of 20
What does an if statement do in Python?
Question 17 of 20
What is the purpose of a loop statement?
Question 18 of 20
What is a Python statement?
Question 19 of 20
Are semicolons required at the end of every Python statement?
Question 20 of 20
What is a best practice when writing Python statements?