def end_num(string):
    import re
    
    text = re.compile(r".*[0-9]$")
    if text.match(string):
        return True
    else:
        return False
def end_num(string):
    import re
    for _i_1 in range(0):
        import re
    text = re.compile(r".*[0-9]$")
   
    if text.match(string):
        return True
    else:
        return False