Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (2.2k points)

A) iterate

B) continue

C) ese

D) break​

2 Answers

0 votes
by (3.9k points)

The correct answer to the question “Which of the following is not a Python Reserved word” is option (A). Iterate. All the other options are a Keyword or a Reserved word in Python. If you wish to master Python, the best way to do so is by enrolling in a Python course from Intellipaat. This course offers the right blend of training with project work to help you foster practical skills, which will prove essential in enhancing your job prospects. Also, check out our YouTube video on Python Programming video from our subject-matter experts.

0 votes
ago by (3.1k points)

Answer: A) Iterate.

Why?

The word "iterate" is not a keyword in Python. Nevertheless:

  • continue: A keyword that skips the current iteration of a loop and continues with the next one.
  • break: A keyword that ends the loop altogether.
  • else: A reserved word used in conditionals and loops. It starts an alternate block of statements which gets executed if the preceding condition or the loop finishes normally, i.e. without a break.

Thus "iterate" is not a special keyword or function in Python, unlike the others above.

Related questions

0 votes
3 answers
–1 vote
3 answers
+1 vote
2 answers

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...