Answers for "tcs question"

0

tcs question

v=int(input())
w=int(input())
if (w&1)==1 or w<2 or w<=v:
    print("INVALID INPUT")
else:
    x=((4*v) -w)//2
    print("TW={0} FW={1}".format(x,v-x))
Posted by: Guest on October-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language