while True:
    n=int(input("輸入n值為:"))
    if n==-1:
        break
    b=(n**3)/3
    print(round(b,1))
    

157f7174f627bc4b48948b3cc5cb67649b0f1e7d
<mask token>

while True:
    n = int(input('輸入n值為:'))
    if n == -1:
        break
    b = n ** 3 / 3
    print(round(b, 1))

while True:
    n=int(input("輸入n值為:"))
    if n==-1:
        break
    b=(n**3)/3
    print(round(b,1))
    
