Course Content

Practice Problem 1 (Easy) | Python Tutorials For Absolute Beginners In Hindi #103

The task you have to perform is “Your Age In 2090”. This task consists of a total of 10 points to evaluate your performance.

Problem Statement:-

Take age or year of birth as an input from the user. Store the input in one variable. Your program should detect whether the entered input is age or year of birth and tell the user when they will turn 100 years old. (5 points).

Here are a few instructions that you must have to follow:

  1. Do not use any type of modules like DateTime or date utils. (-5 points)
  2. Users can optionally provide a year, and your program must tell their age in that particular year. (3points)
  3. Your code should handle all sort of errors like:                       (2 points)
  • You are not yet born
  • You seem to be the oldest person alive
  • You can also handle any other errors, if possible!

The solution is discussed in tutorial#104. You can check and compare your code there.

Be the first person to comment!



No downloadable resources for this video. If you think you need anything, please post it in the QnA!

Course Announcements

Any Course related announcements will be posted here