User contributions for Gheorghe.Tintas

A user with 2 edits. Account created on 26 April 2023.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

26 April 2023

  • 10:0410:04, 26 April 2023 diff hist +1,095 3181 - Marte3No edit summary Tag: visualeditor
  • 09:5209:52, 26 April 2023 diff hist +521 N 3181 - Marte3Pagină 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"... Tag: visualeditor