Python Pattern Programs | Printing Stars '*' in 2 Shape
Get link
Facebook
X
Pinterest
Email
Other Apps
Get link
Facebook
X
Pinterest
Email
Other Apps
Comments
Popular posts from this blog
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)
Python Program to Print Calendar of any month of any year || Calendar SOURCE CODE import calendar year=int(input("Year:")) month=int(input("Month:")) mycalendar=calendar.month(year,month) print(mycalendar)
Random Number Guess Game by Python - Python Program Copy This Code import random number=random.randint(10,50) ctr=0 while ctr<5: guess=int(input("Guess a number in range 10..50:")) if guess==number: print("You win!!:") break else: ctr+=1 if not ctr<5: print("You lose:(\n The number was",number)
Comments
Post a Comment