问题描述:
Write a python function to convert decimal number to octal number.

测试用例:
['assert decimal_to_Octal(10) == 12', 'assert decimal_to_Octal(2) == 2', 'assert decimal_to_Octal(33) == 41']

生成的代码:
def decimal_to_Octal(n):
    result = ""
    if n == 0:
        return "0"
    while n > 0:
        result = str(n % 8) + result
        n //= 8
    return result

# Test cases
assert decimal_to_Octal(10) == '12'
assert decimal_to_Octal(2) == '2'
assert decimal_to_Octal(33) == '41'