Program for find Minimum number in binary file
Write a program to find Minimum number
Program for find Minimum number in binary file
#program for find Minimum number from binary file
import pickle
f=open("ram.dat","rb")
data=pickle.load(f)
minm=101
for i in data:
if i[2]<minm:
minm=i[2]
z=i
print("student with minimum numberis is: ",z)
f.close()
No comments:
Post a Comment
for more information please share like comment and subscribe