I need to write code to read .txt file with arithmetic expressions, read line by line, calculate and in new text file write results

后端 未结 0 1563
情话喂你
情话喂你 2020-11-29 01:15

#text file looks like: 4-1 9-3

I\'m stuck in the beginning handle = open(\'izrazi.txt\', \'r\')

                       read = handle.readlines() 
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题