from datetime import date def myfun(): first_date = date(2024, 1, 1) last_date = date(2024, 1, 15) difference = last_date - first_date print(difference.days) if __name__=="__main__": myfun()
14
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Write a Python program to calculate the sum of three given numbers. If the values are equal, return three times their sum.
Write a Python program to find the area of a triangle.
Write a Python program that checks whether a specified value is contained within a group of values.
Write a python program to Find the index of the smallest number in the list
Write a Python Program to Check if a Number is Positive, Negative or Zero.