def det(c,num):
    """ c:character and num :r or real number, takes a character
        and a number ,then returns character that belongs to c's list(given character ' lsit) using num
        for example we give it "a" and 2 then  returns c """
    flag=0
    l2=['a','b','c']
    gl2=['A','B','C']
    l3=['d','e','f']
    gl3=['D','E','F']
    l4=['g','h','i']
    gl4=['G','H','I']
    l5=['j','k','l']
    gl5=['J','K','L']
    l6=['m','n','o']
    gl6=['M','N','O']
    l7=['p','q','r','s']
    gl7=['P','Q','R','S']
    l8=['t','u','v']
    gl8=['T','U','V']
    l9=['w','x','y','z']
    gl9=['W','X','Y','Z']
    all=[l2,l3,l4,l5,l6,l7,l8,l9,gl2,gl3,gl4,gl5,gl6,gl7,gl8,gl9]
    retl=[]    # return list


    for i in all:
        if c in i:
            retl=i
            
    return retl[num]
 c:character and num :r or real number, takes a character
        and a number ,then returns character that belongs to c's list(given character ' lsit) using num
        for example we give it "a" and 2 then  returns c 
recipes/Python/577606_SMSEncryption/recipe-577606.py