All pastes #45873 Raw Edit

Anonymous

public text v1 · immutable
#45873 ·published 2006-03-16 03:45 UTC
rendered paste body
Read a line with  -> for line in f1:
Strip that line of spaces and newline and tabs using -> tmp = line.strip().split(":")
if tmp contains any other weird characters ignore that line -> <DON'T KNOW HOW TO DO>
Print the desired output as required.