Explanation:
Click the airplane mode again and see if your internet turns back on. if not then click the internet symbol and check to see why its down.
In Python, assume that a file containing a series of integers is named numbers.txt and exist on the computer's disk. Write a program that reads the entire numbers store in the file and calculates their total.
Here is what I have written but it does not run:
def. main():
out file=open('numbers.txt','r')
temp=outfile.readline()
total=0
while temp!='':
t=int(temp)
total=total+i
temp=outfile.readline()
outfile.close()
print('Total sum is:',total)
main()
Text file is a file named numbers.txt with the numbers 1-50 in it
Learn more:
- The sum of three consecutive integers is 186. what are the integers
brainly.com/question/1768254
Keywords: python, integers, computer, numbers, program
Answer:
Goal-based decision making is goal generation together with goal-based planning
This decomposition of decision making in goal generation and planning raises several
questions, such as:
– How to represent beliefs? How to represent obligations? In this paper we represent
beliefs and obligations by rules, following the dominant tradition in deontic logic
(see e.g. [26,27]).
– How to develop a normative decision theory based on belief and obligation rules?
In this paper we introduce a qualitative decision theory, based on belief (B) and
obligation (O) rules.
Answer:
because your computer has tabs opened
Explanation: