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
1 Like
Answer
(d)
Assertion is false but Reason is true.
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. Assigning a new value to an int variable creates a new variable internally.
Reason. The int type is immutable data type of Python.
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.