Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

1046 - Game Time

#1046 - Game Time uri solution
startTime, endTime = map(int,input().split())
if startTime < endTime:
    durationOfTheGame = endTime-startTime
elif startTime > endTime:
    durationOfTheGame = 24 - startTime + endTime
elif startTime == endTime:
    durationOfTheGame = 24

print(f"O JOGO DUROU { durationOfTheGame } HORA(S)")

#Isfak Ahmed
Comment

PREVIOUS NEXT
Code Example
Python :: upload file to SQL server pyodbc python 
Python :: Python 0 evaluates to False 
Python :: How to Use the abs() Function with an Integer Argument 
Python :: python automation to sort files 
Python :: python setup specify c++ version 
Python :: Creaing your own functions 
Python :: py variable space padding 
Python :: python pyhue 
Python :: appears in json dump 
Python :: grouped box plot in python 
Python :: what is sklearn.base 
Python :: example of input int questions in python with if statement 
Python :: tkinter titre fenetre 
Python :: la commande pop python 
Python :: what does filter do in stackapi python 
Python :: couchbase python 
Python :: print less than specific number in one row python 
Python :: how to output index of list python without braquets 
Python :: django cms create page programmatically 
Python :: python selenium login button class click 
Python :: Perform a left outer join of self and other. 
Python :: django voice lib 
Python :: data wrangling python 
Python :: drop duplicates pandas considering lowercase 
Python :: api csv python 
Python :: how to get cube root python 
Python :: read stripped lines from a file python 
Python :: sort true 
Python :: Degrees conversion function in Python 
Python :: anaconda pytorch depencies windows 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =