Lesson A-15 Activity #2: Write a Python Program to Calculate Age from and statement in python Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: This video is a sample from the online course Intro to Robotics Level A, available at: https://42electronics.com/collections/lessons-kitsnnIn this activity you will continue to practice working with both strings and integers in your Python code by writing a program that will ask a user for the year they were born and if their birthday has occurred yet this year. The program will then calculate the user's age at the end of this year and will subtract a year if their birthday has not yet occurred.
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)