Facebook
From kush, 4 Years ago, written in Plain Text.
This paste is a reply to file handling 10 from kush - go back
Embed
Viewing differences between file handling 10 and file handling 11
from datetime import 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 
l=list(a)
b=[]
for i 
in milliseconds is ",w)
l:
    if(l.count(i)==1):
        b.append(i)
if(len(i)==0):
    print("#")
else:
    b.sort()
    for i in b:
        print(i,end='')
print("\n")
l.sort()
for i in l:
    print(i,end='')

Replies to file handling 11 rss

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