python:实现转换时间AM/PM
from __future__ import print_function
def convert_time(input_str):
if input_str[-2:] == "AM" and input_str[
from __future__ import print_function
def convert_time(input_str):
if input_str[-2:] == "AM" and input_str[