Arjun has been given following incomplete code, which takes a student details (name, marks) and writes into a binary file student.dat.
import pickle
stname = input("enter name")
stmarks int(input ("enter marks"))
stdict ("Name" : stname, "Marks" : stmarks)
_________ : \( \#\) line 1
_________ : \(\#\) line 2
_________ : \( \#\) line 3
_________ : \(\#\) line 4
print (r)
if r["marks"] \(>=\) 85:
print("eligible for scholarship")
else:
print("not eligible for scholarship")
Complete code for line 1 to open the given binary file in f object using with statement: