Python time string processing problem converts "3 hours and 10 minutes" into "190minutes" solving method

python converts "3 hours and 10 minutes" to "190 minutes" solution

Mar.02,2021

use the regular expression to take out the number in front of "hour" and "minute" and calculate it

how to use Baidu regular expression

Menu