Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
258 B
2
Indexable
Never
# Program membuat hati

# KAMUS

# ALGORITMA
for y in range(15, -16, -1):
    for x in range(-30, 31, 1):
        if((x/2)**2 + ((5*y/4) - 2*(abs(x))**0.5)**2 <= 120): 
            print("", end="*")
        else:
            print(" ", end="")
    print("")