Maus_Matthis

mail@pastecode.io avatar
unknown
python
23 days ago
265 B
2
Indexable
Never
gen = 0

y = 6
e = 9
a = 12

while gen <= 5:
    
    gen += 1
    y1 = y
    y = int(e*4 + a*2)
    e = int(y1/2)
    a = int(e/3)
    
    print(f"\nGen: {gen}")
    print(f"Junge: {y}")
    print(f"Erwachsene: {e}")
    print(f"Alte: {a}")
    
Leave a Comment