a = "hello geeks for geeks is computer science portal"
k = 8
if k == len(a.split()):
    print("K is equal to dictonary length")
elif k > len(a.split()):
    print("k is greater than dictonary")
else:
    print("k is smaller than dictonary")