Hey guys,
In Java, there is a method called substring, but what substitute does it have in Python, or do I have to explicitly do it like:
s=raw_input("Enter a sentence: ")
s2=""
a=0
b=0
for a in s:
if(a==' '):
s2= s[b:a]
b=a
a+=1
Thanks guys!