Artykuł Podstawy Pythona Funkcje w Pythonie dla początkujących …def weight_on_planet(earth_weight, gravity=0.38): return round(earth_weight * gravity, 1) print(weight_on_planet(70)) # bez gravity, więc liczy dla Marsa (0.38) print(weight_on_planet(70, 0.165)) #… 14 paź 2026