Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ITgirl2010

This is a question i got and i just dont under stand how to do it. [B]An organization is assigned the network number 172.18.0.0/16, and it must create a set of subnets that supports up to 90 hosts on each subnet. [/B] How do you Define subnet mask for this …

Member Avatar for Casper429
0
319
Member Avatar for ITgirl2010

[code=php] class Item(object): def __init__(self, ID, name, price, stock ): self.ID = ID self.name = name self.price = price self.stock = stock def getID(self): return self.ID def getName(self): return self.name def getPrice(self): return self._price def setPrice(self,value): self.price = value def buyStock(self, howMany): self.stock += howMany def sellStock(self, howMany): if howMany …

Member Avatar for TrustyTony
0
119
Member Avatar for ITgirl2010

I need to create an application that utilizes your Order class to implement a simple Order tracking system. To do this your system must be able to deal with a number of orders. Your application should have the following capabilities: 1. Create a new order 2. Update an existing order. …

Member Avatar for sneekula
0
97
Member Avatar for ITgirl2010

I have been given this program that maintains a catalog of items '''maintain a catalog''' [code=php]def main(): global catalog loadCatalog() while True: pick = showMenu() if pick == 0: break elif pick == 1: sellItem() elif pick == 2: buyItem() else: print "Invalid selection" saveCatalog() def showMenu(): global catalog while …

0
65
Member Avatar for ITgirl2010

Hi there everyone is there anyone that knows how to use the cisco packet application and that would be willing to run me though the program . Private message me asap if u can or leave u email and I'll be in contact

0
56
Member Avatar for pythonnewbie10

I have this program that i have been working on which plays rock paper scissors game with the user. [code=syntax] '''play a game of Rock, Paper, Scissors''' from random import randint def firstChooserWins( chooserChoice, otherChoice ): #print chooserChoice, otherChoice if (chooserChoice == "Rock" and otherChoice == "Scissors") or \ (chooserChoice …

Member Avatar for TrustyTony
0
141
Member Avatar for ITgirl2010

i have been working on this code [code=syntax] '''Calculate the cost of fuel for a road trip''' def main(): distance = float(raw_input("Enter distance in kilometres: ")) litresPer100K = float(raw_input("Enter economy (ltr/100km): ")) pricePerLitre = float(raw_input("Enter fuel price per litre ($): ")) cost = distance / 100 * litresPer100K * pricePerLitre …

Member Avatar for ITgirl2010
0
115
Member Avatar for ITgirl2010

[code=syntax] #calculate the amout of tax due to the tax given income def calTax( income ): tax = 0 if income <25000: tax = income * 0.25 elif income > 25000 and income < 50000: tax = 25000 * 0.25 + (income - 25000) * 0.33 elif income > 50000: …

Member Avatar for JasonHippy
0
1K
Member Avatar for ITgirl2010

''' Calculate the BMI of a person given their height and weight ''' def calcBMI( h, w ): BMI = w / h**2 return BMI def main(): height = float(raw_input("Enter height in metres: ")) weight = float(raw_input("Enter weight in kilos: ")) BMI = calcBMI(height, weight) print "BMI = %0.1f" % …

Member Avatar for ITgirl2010
0
212
Member Avatar for ITgirl2010

Ive started with this program def calcFinal(): while True: try: asg1Mark = int(raw_input("Enter Asg1 mark: ")) asg2Mark = int(raw_input("Enter Asg2 mark: ")) examMark = int(raw_input("Enter Exam mark: ")) final = asg1Mark + asg2Mark + examMark return final except ValueError: print 'Please enter only numbers' def mark_check(finalMark): print "Final mark is …

Member Avatar for woooee
0
112
Member Avatar for ITgirl2010

This is the question i was given --------------------------------------------------- Here is a program that prompts the user to enter a student’s marks, and then prints out whether they have passed or failed a unit. '''calculate a students grade given their final mark''' def calcFinal( asg1, asg2, exam ): final = asg1 …

Member Avatar for snippsat
0
160