Computer Science
Assertion. if and for are legal statements in Python.
Reason. Python is case sensitive and its basic selection and looping statements are in lower case.
Python Funda
3 Likes
Answer
(a)
Both Assertion and Reason are true and Reason is the correct explanation of Assertion.
Explanation
if is conditional statement and for is loop statement. Python is case sensitive and its selection and looping statements are in lower case.
Answered By
1 Like
Related Questions
Assertion. """A Sample Python String""" is a valid Python String.
Reason. Triple Quotation marks are not valid in Python.
Assertion. If and For are legal statements in Python.
Reason. Python is case sensitive and its basic selection and looping statements are in lower case.
Assertion. The break statement can be used with all selection and iteration statements.
Reason. Using break with an if statement is of no use unless the if statement is part of a looping construct.
Assertion. The break statement can be used with all selection and iteration statements.
Reason. Using break with an if statement will give no error.