-
Numeric, String, List, Tuple, Set, and Dictionary Manipulation and Operations
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
-
Conditional Statements and Looping
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
- Join this Course to access resources
- Quiz
-
Write a program to determine the appropriate message based on the user's age
Write a program that takes a user's age as input and prints "You are a minor" if the age is less than 18, "You are an adult" if the age is between 18 and 65 (inclusive), and "You are a senior" if the age is greater than 65.
Input: 25
Output: You are an adult
Write a program that takes a user's age as input and prints "You are a minor" if the age is less than 18, "You are an adult" if the age is between 18 and 65 (inclusive), and "You are a senior" if the age is greater than 65.
Input: 25
Output: You are an adult
Rating
0
0
There are no comments for now.
Join this Course
to be the first to leave a comment.