数学表达式,转换为pyhton表达式

这个平方和mod应该如何表达呢?没有学到过,不知道如何转换
数学表达式 (1+3【平方】)×(16 mod 7) / 7的Python表达式为

(1+3)**2 * 16%7 / 7