9 lines
211 B
Python
9 lines
211 B
Python
|
class Date:
|
||
|
def set(self, day, month, year):
|
||
|
self.day = day
|
||
|
self.month = month
|
||
|
self.year = year
|
||
|
|
||
|
def disp(self):
|
||
|
print('{}/{}/{}'.format(self.day, self.month, self.year))
|