with open('res.txt', 'w') as file:
    file.write(str(0))
    file.close()
    
with open('ded.txt', 'w') as file:
    file.write(str(0))
    file.close()

with open('used.txt', 'w') as file:
    file.write(str('d'))
    file.close()