saving . . . saved %run has been deleted. %run has been hidden .
 I tried running the command after saving the in the working directory but it still shows
  File "C:\Users\HP\", line 2
    for line in open("student_record.txt")
SyntaxError: invalid syntax

Python-3.4.3 Parsing-data 09-10 min 10-20 sec 14-08-20, 2:20 p.m. ASHABAREE


Please use the : symbol after the for loop syntax line
07-09-20, 10:15 p.m. ankitrj.iitb

Log-in to answer to this question.