Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Purnima12

[I]Now, I may have bitten off a bit more than I can chew with this promised program for my pops, but I am confident, with time, I can puzzle out a solution with some help! Background Info: My father is a doctor responsible for monthly schedules, usually penciled painstakingly on …

Member Avatar for Purnima12
0
2K
Member Avatar for Purnima12

[CODE] while True: try: wd = int(input('How wide would you like your letter to be? (5 - 20)' + ': ')) break except ValueError: print ("Oops! That was no valid number. Try again...")[/CODE] If the user inserts a number that is not 5 - 20, I want the program to …

Member Avatar for TrustyTony
0
540
Member Avatar for Purnima12

[CODE]#WEAVING A RUG WITH PYTHON #################################################################################### ## END STRINGS## for rows in range(1): for cols in range(36): print('~', end='') print('\n') ## SEAM ## for rows in range(1): for cols in range(12): print('- -', end='') print() ## DUAL ROW DESIGN ## for rows in range(2): for cols in range(36): print('*', end='') …

Member Avatar for Purnima12
0
190
Member Avatar for Purnima12

[CODE] #! /usr/bin/env python import random possible = [2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 30, 34, 50, 100] size = int(raw_input('Please enter the size of the die you would like: ')) if size not in possible: print """ Please check the Wikipedia Dice …

Member Avatar for snippsat
0
590
Member Avatar for Purnima12

[CODE]import time import calendar # time tuple/list index YEAR = 0 MONTH = 1 DAY = 2 WEEKDAY = 6 # weekdays MON=0 TUE=1 WED=2 THU=3 FRI=4 SAT=5 SUN=6 # months JAN=1 FEB=2 MAR=3 APR=4 MAY=5 JUN=6 JUL=7 AUG=8 SEP=9 OCT=10 NOV=11 DEC=12 HAVE_30_DAYS = (APR,JUN,SEP,NOV) HAVE_31_DAYS = (JAN,MAR,MAY,JUL,AUG,OCT,DEC) HAVE_28_DAYS …

Member Avatar for vegaseat
0
1K
Member Avatar for Purnima12

I wish to create a program that informs the user whether a given date is a holiday or not - Here is how it should work: The student should be prompted to enter an integer for the month and then prompted to enter an integer for the day. (For example, …

Member Avatar for woooee
0
158
Member Avatar for Purnima12

[CODE]print (yourname1) snum = input('What is your date of birth (YYYYMMDD)?:') birth1 = snum[4:6] + '/' +snum[6:8] + '/' + snum[0:4] y1 = int(snum[0:4]) #year of person 1 m1 = int(snum[4:6]) #month "" d1 = int(snum[6:8]) #day '" print ('\n') print ('\n') sleep(1) print (yourname2) snum = input('What is your …

Member Avatar for Purnima12
0
2K
Member Avatar for Purnima12

[CODE]print ('Why hello there!') print ('\n') print ('It seems I have been given the ability to process more complex commands...') print ('\n') yourname1 = input('Would you mind telling me your name?') print ('\n') print ('\n') print ('Thank you,', yourname1,',' 'who is that friend of yours?') print ('\n') print ('\n') yourname2 …

Member Avatar for Gribouillis
1
2K