We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb83f33 commit a69dc62Copy full SHA for a69dc62
003-day/Program10.py
@@ -0,0 +1,19 @@
1
+# In this section we are going to learn about logical operators
2
+
3
+#There are 3 types of logical operators
4
5
+# and : If all the condition is satisfied, then this will return true
6
+# or : If either on of the condition is satisfied, then this will return true
7
+# not: It will return the inverse of the true or false
8
9
+print("Check your category in school sports")
10
+age = int(input("Enter your age: "))
11
12
+if age < 6:
13
+ print("Your category is Kids")
14
+if age > 6 and age < 12:
15
+ print("Your category is Junior")
16
+if age > 12 and age < 18:
17
+ print("Your category is Senior")
18
+else:
19
+ print("You are not eligible for participating the evenr.")
0 commit comments