gabec94 0 Junior Poster in Training

I am trying to write a program that shows the longest word from an input . This is what I have so far, I am not sure what to set x equal to, or if that is even right:

sent=raw_input('Enter sentence:')
splicedsent=sent.split(" ")
longestword=splicedsent[0]
if x in len(splicedsent[1:])>splicedsent[0]:
    longestword=x
else:
    longestword=splicedsent[0]
print "Longest word:", longestword

Any help is appreciated, thanks