- Joined
- Jan 26, 2023
- Messages
- 9
- Reaction score
- 0
Python:
#Hi there ! friend n! I need help.Persians attack from the south. We need more triremis!
#the case is I can not realize. How to relate my module with main shee. There we input some
#data and immediately can get back data writting num 1.
#Module
def save_inf(info):
with open('file.txt','w') as f:
for lama in info:
f.write(input('data:'))
return lama
def load_inf():
with open('file.txt','r') as f:
data=f.read()
info={}
for lama in data:
if lama:
lama=lama
lama=input('back data:')
-----------------------------------------------------
#Main sheet
while True:
u=input('data:')
save()
#save()
#while True:
p=load(input('back data'))
if p=='1':
print(f.read())