We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
# Enter your code here. Read input from STDIN. Print output to STDOUTst=raw_input().split(" ")sm=0.0foriinrange(len(st)):temp=st[i].split(",")sm+=(int(temp[0])+int(temp[1])+int(temp[2]))/3sm=sm/len(st)ifsm<80:print"night"else:print"day"
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Digital Camera Autodetect: Day or Night
You are viewing a single comment's thread. Return to all comments →
Python 2 solution: