Write a function for checking all alphabets in a word that are consisted in another word or not.
def reveal(first,second): that return boolean.
For example:
reveal(“Hokpolimio”, “Hpm”) = True #“H” ,”p”,”m” are in “Hokpolomio”
reveal(“Banana”,”Bka”) =False
1
Expert's answer
2020-06-25T08:00:44-0400
def reveal(first, second):
check = False
for i in second:
if i in first:
check = True
else:
check = False
return check
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment