Answer:
list1=[]
n=10
for i in range(n):
z=int(input("Enter number:"))
list1.append(z)
print(list1)
A top-level domain is known to be an aspect of a domain that quickly follows the last dot symbol that is seen in a domain name.
<h3>What is a "Top-Level
Domain Name"?</h3>
This is known to be the biggest level in terms of the hierarchical Domain Name System of the Internet.
Note that TLD (top-level domain) is said to be the most generic domain that is seen on the Internet's hierarchical DNS (domain name system) as A top-level domain is known to be an aspect of a domain that quickly follows the last dot symbol that is seen in a domain name.
Learn more about Domain Name from
brainly.com/question/13437432
#SPJ1
Answer:
1.Ensure the file named NewestMultiply.java is open. Write a do while loop that uses the loop control variable to take on the values 0 through 10. In the body of the loop, multiply the value of the loop control variable by 2 and by 10. Execute the program by clicking Run and verify that the output is correct.
Explanation:
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