Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/31/15 in all areas

  1. Cel mai bun tutorial pe care l-am citit so far. Give it a try: Spolier: So Everything Has A Class? class Customer(object): """A customer of ABC Bank with a checking account. Customers have the following properties: Attributes: name: A string representing the customer's name. balance: A float tracking the current balance of the customer's account. """ def __init__(self, name, balance=0.0): """Return a Customer object whose name is *name* and starting balance is *balance*.""" self.name = name self.balance = balance def withdraw(self, amount): """Return the balance remaining after withdrawing *amount* dollars.""" if amount > self.balance: raise RuntimeError('Amount greater than available balance.') self.balance -= amount return self.balance def deposit(self, amount): """Return the balance remaining after depositing *amount* dollars.""" self.balance += amount return self.balance
    1 point
  2. Daca mai ai ceva as dori si eu te rog frumos daca ai niste conturi sau un cont cu steam cu csgo daca ai:) multumesc frumos!
    -1 points
×
×
  • Create New...