repl.it
@AlexanderHall4/

testfor funct-1

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
def instr(testfor, teststr):
  z = False
  strlen = len(teststr)
  testforlen = len(testfor)
  for i in range(testforlen - strlen + 1):
    if teststr == testfor[i:i+strlen]:
      z = True
  return z
a = input()
b = input()
print(instr(a,b))
if a in b:
  print("zucc")
?