0
Need code for this program.(python3)
https://www.hackerrank.com/contests/t3-e/challenges/trip-or-not CODE :- n,s,c,h,l,t=int(input()),int(input()),int(input()),int(input()),int(input()),int(input()) a=l*t b=n-(s*c*h) if a<=b: print("Goa Jaayenge") else: print('Padhai Karenge')
2 odpowiedzi
+ 4
Someone might help you but before asking a question kindly share your attempt so that the community can see what you have done and where have you gone wrong.
0
Avinesh
n,s,c,h,l,t=int(input()),int(input()),int(input()),int(input()),int(input()),int(input())
a=l*t
b=n-(s*c*h)
if a<=b:
print("Goa Jaayenge")
else:
print('Padhai Karenge')