Facebook
From kush, 4 Years ago, written in Plain Text.
This paste is a reply to 10 from kush - go back
Embed
Viewing differences between 10 and file handling 10
from Address datetime import Address
class Person:
    def __init__(self,name, age, address):
        self.__name = name
        self.__age = age
        self.__address = address
    def __str__(self):
        return(self.__name+" 
datetime,timedelta
print("Start time")
a=input()
print("End time")
b=input()
p=datetime.strptime(a,"%H:%M:%S")
q=datetime.strptime(b,"%H:%M:%S")
r=q-p
w=int(r.total_seconds()*1000)
print("Time in milliseconds 
is a person who is "+ self.__age+" years old and lives in the following address : "+str(self.__address))
        
       --------------------------------------------------------------------------------------------------------- 
        
        
        class Address:
    def __init__(self,street, city, state):
        self.__street = street
        self.__city = city
        self.__state = state
    def __str__(self):
        return(self.__street +" , "+self.__city+" , "+self.__state)
",w)

Replies to file handling 10 rss

Title Name Language When
file handling 11 kush text 4 Years ago.