una función que convierta una hora dada en formato de 24horas a la hora en formato 12horas
def to_12h(time): if time > 12: return time - 12 return time to_12h(0)
una función que convierta una hora dada en formato de 24horas a la hora en formato 12horas
def to_12h(time): if time > 12: return time - 12 return time to_12h(0)
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description