Open melamela0109 opened 2 years ago
def plus(a, b): if type(b) is int or type(b) is float: return a + b else: return None
print(plus(3, "lalala")) >> none
들여쓰기 중요
def plus(a, b): if type(b) is int or type(b) is float: return a + b else: return None
print(plus(3, "lalala")) >> none
들여쓰기 중요