Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in Python by (2.2k points)

A) break

B) make

C) if

D) Todo

E) concat

2 Answers

0 votes
by (3.9k points)

The correct answer to the question “Which of these words are reserved words in Python” is option (a) and option (c). As both “break” and “if” are reserved words or keywords in Python, and the rest of the words are not. Wish to get started with Python, and want to get trained and certified in it, to enhance your job opportunities? Enroll in a good Python certification course, from Intellipaat. Also, have a look at the latest YouTube video on Python Online Course and get a better understanding.

0 votes
by (1.3k points)

Both Option A and C are reserved words in python.

  • Break: It is used to exit a loop prematurely

  • If: Used for conditional statements

You can access full list of reserved words in Python from keyword module:

import keyword

print(keyword.kwlist)# Display all the keywords in Python

Related questions

0 votes
2 answers
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...