Skip to content

Commit

Permalink
New Problem - Solution Accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
armurox committed Apr 20, 2024
1 parent 72224af commit 943cda1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions clock_conversion/clock.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from datetime import datetime
def main():
t = int(input())
for _ in range(t):
print(datetime.strftime(datetime.strptime(input(), "%H:%M"), "%I:%M %p"))


if __name__ == "__main__":
main()

0 comments on commit 943cda1

Please sign in to comment.