AM and PM with time

Haw can I add AM and PM along with time in my python code . Consider the code given here https://code.sololearn.com/c95hUux1jtUG/?ref=app

1/15/2020 1:08:27 PM

TR CodeWorld [AYUSH.ks]

2 Answers

New Answer


I am asking to get the time in AM and PM formet


I am not getting your poin