Hello,
I have some problem with checking if the element is contained in the list or not.
For example:
a = ['abc', 'def', 'gh', 'i']
b = 'abc'
Following is my code:
Is it correct?
Thank you in advance.
I have some problem with checking if the element is contained in the list or not.
For example:
a = ['abc', 'def', 'gh', 'i']
b = 'abc'
Following is my code:
Code:
def is_proper_word(b, a) :
is_proper = False
for b in proper_word_list:
is_proper = True
return is_proper
Thank you in advance.
Comment