format call removed

This commit is contained in:
mjk22071998 2024-10-01 13:29:22 +05:00
parent 187f4da98a
commit 8c1d01684d

View File

@ -209,7 +209,7 @@ if __name__ == "__main__":
if linked_list.delete(data):
print(f"Node with data {data} deleted successfully")
else:
print("Node with data {} not found in the list".format(data))
print(f"Node with data {data} not found in the list")
elif choice == "4":
break
else: