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 display the first and last colors from the following list.
Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn.
Write a Python program to test whether a passed letter is a vowel or not.
Write a Python program to count the number 4 in a given list.