Posts

Showing posts with the label Python

A sample Python Program for Reference work ( Life Universe Everything )

def main ( ) : while True: w= input ( ) if w== 42 : break else : print w main ( ) -----------------------------------------------------------------------------------------============================================================================================= I. Yet another A + B codeforces def main():             a=int(input())             b=int(input())             c=int(input())                         if a+b == c:                 print("YES")             elif a+a == c:                 print("YES")             elif b+b == c: ...