インデント下げてる場所 だったらこんなんじゃあないの

with open(‘test.txt’, ‘w’) as f:
____count = 1
____print(f)

printf(count)