Page 75 - Code Craft Computer-8
P. 75
Program 1: To print all the days of a week
You will get the following output:2
Program 2: To print a pattern using for loop.3
You will get the following output:
The ‘in’ operator
The 'in' operator is used to check if a given value exists in the sequence or not. It evaluates to True
if it finds a value in the specified sequence else it returns False .
75

