def aa(n,q):
    m=str(n)
    
    for k,s in enumerate(m):
        if k==q:
            return s
        
    
print(aa(232333,2))

 

相关文章: