Let the file "telephone.txt" include the following sample records:
Arvind 7258031
Sachin 7259197
Karuna 8479939
with open("telephone.txt", "r") as file:
f = file.readlines()
for line in f:
name, number = line.split()
print(name, '\t\t' ,number)Arvind 7258031
Sachin 7259197
Karuna 8479939