こんなかんじじゃね?(rotateは未定義)

funcs = [A, B, C, D]

while True:
. for f in funcs:
. n = f()
. if n > 90:
. funcs = rotate(funcs)