Get link Facebook X Pinterest Email Other Apps March 23, 2020 Python program to calculate the number of days between two dates - Python calculator COPY SOURCE CODE from datetime import date start=date(2010,1,1) end=date(2020,3,15) date=(end-start).days print("Date between two date is:",date) Get link Facebook X Pinterest Email Other Apps Comments
Python Pattern Programs | Printing Stars '*' in A Shape June 11, 2020 Source code for row in range (7): for col in range(5): if ((col==0 or col==4) and row!=0) or ((row==0 or row==3) and (col>0 and col<4)): print("*",end=" ") else: print(end=" ") print() Read more
Comments
Post a Comment