Editing 3181 - Marte3
Revision as of 09:52, 26 April 2023 by Gheorghe.Tintas (talk | contribs) (Pagină nouă: def marte(): print("Anul martian dureaza x zile martiene") x = int(input()) print("O zi martiana dureaza y ore ") y = int(input()) print("Numarul de antene al lui Iggle ") n = int(input()) a = n // (x * y) # un an martian are x zile, o zi are y ore, deci un an va avea x*y ore, astfel a=n//(x*y) n = n - a * x * y #aflam numarul de ore ramase z = n // y #aflam numarul de zile h = n - z * y print(a, "Ani"...)
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "http://wiki.universitas.ro/wiki/3181_-_Marte3"