7 lines
113 B
Python
Raw Permalink Normal View History

def kilobytes(n: int) -> int:
return n * 1024
def megabytes(n: int) -> int:
return kilobytes(n) * 1024