Light Mode
Dark Mode
i dont get what's wrong with my code

def tipe(f,g): if(f==None): tipo="ferror" if(g==None): tipo="botherror" else: if(f==g): tipo="same" else: tipo="different" return tipo

def checkio(f,g): tipo=tipe(f,g) if(f != None): return f,tipo else: if(g != None): return g,tipo else: return None,'both_error'

  • task.comp_funcs
Created: April 8, 2016, 5:21 a.m.
Updated: April 8, 2016, 6:04 a.m.
0
2
User avatar
guaberx