time = [10,50]
add_time = 20

if time[1] + add_time > 60:
    time[1] += add_time
    time[1] -= 60
    time[0] += 1

print(f"{time[0]}시{time[1]}분")

    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: