Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- class admin:
- def __init__(self,username,password):
- User = input()
- password= input()
- #self._username= User
- #self._password= Password1
- if username != User :
- print ('Username errato')
- elif password != Password1:
- print('Password errata')
- else:
- print (' benvenuto:')
- print('inserire nome utente e password')
- '''class games:
- def __init__(self):
- self._Count= 0
- self._TPirce = 0.0
- self._NameGames= input()
- def addQuantity (self,Price):
- self._Count= self._Count+1
- self._TPirce= self._TPrice+price
- if count == 0:
- raise ZeroQuantityError (' Il prodotto selezionato non è disponibile')
- else:
- print ('Il gioco è disponibile')
- def getTotal(self):
- return self._TPrice
- def getCount(self):
- return self._Count
- class ListGames(games):
- def pes (self):
- pes == 5
- print('inserire il nome del prodotto')'''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement