About this question
I want to execute the below-mentioned code:
Def example (p,q):
A = p . find (“ “)
B = q . find (“ “)
Str_p = p [0:a]
Str_q = p [b+1 : ]
If str_p == str_q:
Result = true
Else :
Result = false
Return result
I am seeing the error
IndentationError : expected an indented block
Why am I seeing a Python error ‘expected an indented block’ ?