TaskThe provided code stub reads and integer, i, from STDIN. For all non-negative integers i, print i².
Example
The list of non-negative integers that are less than n = 3 is [0,1,2]. Print the square of each number on a separate line.
An extra day is added to the calendar almost every four years as February 29, and the day is called a leap day. It corrects the calendar for the fact that our planet takes approximately 365.25 days to orbit the sun. A leap year contains a leap day.
TaskThe provided code stub reads two integers, a and b, from STDIN.
Add logic to print two lines. The first line should contain the result of integer division, a//b . The second line should contain the result of float division, a/b .