# Exercise_01
# Write a Python program which accepts the radius of a circle from the user and compute the area
 
from math import pi

print('Exercise_01')

radius = float(input ('Input the radius of the circle: '))
area = (pi * radius**2)
print('The area of the circle with radius ' + str(radius) + ' is ' + str(area))


@@ -1,8 +1,108 @@
+# -------------------------------------------------------------------------------------------------%0A
 # Exerci
@@ -205,16 +205,116 @@
 e area%0A 
+# -------------------------------------------------------------------------------------------------%0A
 %0Afrom ma
@@ -510,11 +510,1035 @@
 tr(area)
-)%0A%0A
+ + '%5Cn%5Cn')%0A%0A# -------------------------------------------------------------------------------------------------%0A# Exercise_02%0A# Write a Python program to calculate number of days between two dates%0A# -------------------------------------------------------------------------------------------------%0A%0Afrom datetime import date%0A%0Aprint('Exercise_02')%0A%0Ayy = int(input('Input the start date year: '))%0Amm = int(input('Input the start date month: '))%0Add = int(input('Input the start date day: '))%0Astart_date = date(yy,mm,dd)%0A%0Ayy = int(input('Input the finish date year: '))%0Amm = int(input('Input the finish date month: '))%0Add = int(input('Input the finish date day: '))%0Afinish_date = date(yy,mm,dd)%0A%0Adiff = (finish_date - start_date)%0A%0Aprint('Number of days between ' + str(start_date) + ' and ' + str(finish_date) + ' is ' + str(diff))%0A%0A# -------------------------------------------------------------------------------------------------%0A# -------------------------------------------------------------------------------------------------

Add new exercise to Math.py