pls check it out mine it that right or wrong? #2798
SaiWaiYanMaungMaung
started this conversation in
General
Replies: 1 comment 2 replies
-
Its wrong. Github discussions are meant to discuss things related to the Codewars website. If you want to discuss or ask questions related to specific kata or code, join Codewars Discord server! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
def type_validation(variable, _type):
# your code here
if type(variable)==type(_type):
return True
print( "{}{}".format(variable, _type))
elif type(variable) != type(_type):
return False
print("{}{}".format(variable,_type))
g=type_validation("as",2)
print(g)
Beta Was this translation helpful? Give feedback.
All reactions