Back

when try in google colab i am getting right output, when i submit in codekata my test case are failing.

Created 2 years ago
191 Views
6 Comments
KARAMTHOD
@KARAMTHOD
KARAMTHOD
@KARAMTHODProfile is locked. Login

Given a string S, print 'yes' if the strings 'GUVI' and 'GEEK' is present case-sensitively in the string else print 'no'.
Input Size : 1 <= 100
Sample Testcase :
INPUT
Vishal_Sundar prepared this question
OUTPUT
no

S=input().split()

t="GUVI"

x="GEEK"

if t in S and x in S:

print("yes")

else:

print("no")

can u pls correct my code.....?

Comments (6)
Please login to comment.