Commit 0f28a096 authored by root's avatar root

query in a line

parent fa6654d4
import sys
string="""This is sowmya
I am from Vijayawada
I persued BTech 1st year in KLU"""
# w=string.split(" ")
for index,line in enumerate(l):
w = line .split(" ")
if query in w:
print index
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment