class dataType: STATE = None def __init__(self, city, country, bidder_limit, net_amount, net_amount_eu, unit_price, unit_number, min_price, max_price, contract_no, lot_no, bids_count, cftpd, canpd, pca_date, estimated_start_date, estimated_completion_date, award_decision_date, completion_date, cancellation_date, signature_date, payment_date): self.city=city self.country=country self.bidder_limit=bidder_limit self.net_amount=net_amount self.net_amount_eu=net_amount_eu self.unit_price=unit_price self.unit_number=unit_number self.min_price=min_price self.max_price=max_price self.contract_no=contract_no self.lot_no=lot_no self.bids_count=bids_count self.cftpd=cftpd self.canpd=canpd self.pca_date=pca_date self.estimated_start_date=estimated_start_date self.estimated_completion_date=estimated_completion_date self.award_decision_date=award_decision_date self.completion_date=completion_date self.cancellation_date=cancellation_date self.signature_date=signature_date self.payment_date=payment_date def checkInt(self): if type(self.bidder_limit) or type(self.unit_number) or type(self.contract_no) or type(self.lot_no) or type(bids_count) is int: dataType.STATE=True return dataType.STATE
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question