Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t=open("pokus.txt", "a")
- for i in range(5):
- a=input("Zadaj meno: ")
- b=input("Zadaj priezvisko: ")
- c=input("Zadaj vek: ")
- print(" ")
- t.write("\nMeno: "+a)
- t.write("\nPriezvisko: "+b)
- t.write("\nVek: "+c+"\n")
- t=open("text.txt", "r")
- p=t.read()
- print("\nZoznam: \n"+p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement