Help me in solving LPYAS153 problem

My issue

File “/mnt/sol.py”, line 1
k = int(input())
IndentationError: unexpected indent

My code

 k = int(input())
 fact = 1
 t = 1
 while t ,= n:
     fact = fact * t
     t = t+1
    
sum = 0
while fact >0
rem = fact % 10
sum = sum + rem
fact = fact // 10
print (sum)

Learning course: Roadmap to 3*
Problem Link: https://www.codechef.com/learn/course/klu-roadmap-3star/KLURMP300B/problems/LPYAS153