G2A Many GEOs


JOHNYTHEWINNER Feb 15th, 2020 (edited) 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math;
  2. import sys;
  3. hours = int(input())
  4. minutes = int(input())
  5. totalminutes=hours*60+minutes+15
  6. from math import floor
  7. if(totalminutes/60>0):
  8.     from math import floor
  9.     finalhour=floor(totalminutes/60)
  10.     finalminutes= totalminutes-finalhour*60
  11.     if finalhour>=24:
  12.         finalhour-=24
  13. if finalminutes<10:
  14.     print(f"{finalhour}:0{finalminutes}")
  15. else:
  16.     print(f"{finalhour}:{finalminutes}")
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand