Skip to content

Commit bf06c3e

Browse files
authored
Update and rename age.py to age
1 parent 15c8973 commit bf06c3e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

age.py renamed to age

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#Write a program that prompts the user to enter a series of age (number) to be inserted in a list named age.
2-
The size of the list is 10. The program then, will evaluate the status ofchildoradultbased on the user input.
3-
If the age is less than or equal to 18, the program will store it in the children list.
4-
However, if the age is greater than 19, the program will store it in the adult list.
5-
The program has to display the content of the three lists.
6-
The program also has to calculate and display the total number of elements in all of the lists. Name the Python file as age.py.
2+
#The size of the list is 10. The program then, will evaluate the status of ‘child’ or ‘adult’ based on the user input.
3+
#If the age is less than or equal to 18, the program will store it in the children list.
4+
#However, if the age is greater than 19, the program will store it in the adult list.
5+
#The program has to display the content of the three lists.
6+
#The program also has to calculate and display the total number of elements in all of the lists. Name the Python file as age.py.
77

88

99
-

0 commit comments

Comments
 (0)