HELP!! I keep getting an EOFError on line 6 while trying to run my code in python.

my code-

line 1: num = int(input("Enter a number: "))

line 2: c=0

line 3: sum=0

line 4: while (num<100):

line 5: sum=sum+num

line 6: num = int(input("Enter a number: "))

line 7: c=c+1

line 8: print("Sum: " +str(sum))

line 9: print("Numbers Entered: "+str(c))

Answers

Answer 1

I'm almost certain you were getting an EOF error because you were asking for too much input. My code works for me. Best of luck.

HELP!! I Keep Getting An EOFError On Line 6 While Trying To Run My Code In Python.my Code-line 1: Num

Related Questions

If a file is being downloaded from various computers and not just one network computer or server, it is being downloaded the _____ way.
B2C

B2B

P2P

P2B

Answers

I am pretty sure it’s B2B

What techniques can be used to assess a product?

Answers

Answer:

well

Explanation:

When describing methods used to assess student achievement of the 1. Include sources of data, collection methods 2. State whether they are direct or indirect instruments. 3. Describe how data was analyzed and evaluated.

Which one Bc I’m struggling

Answers

14 is c and 16 a btw do you go to connection academy

Answer:

c

Explanation:

When we read code and predict its output, it is called tracing code.

For this lesson, you will come up with your own challenging algorithm for other students to trace. It must contain at least 5 if statements and use at least one AND or OR boolean condition.

Note: Elif or else statements will not count - your statements must be if statements. Each if statement should use a unique variable name.

For this challenge, try reading 3 or 4 of your classmates' code as well. Trace their code and predict what it will output, then check the code by running it to see if you got it right, and submit your work for a grade.

Answers

Answer:

Answer:

PYTHON

a = 2

b = 0

c = 4

d = -1

e = 9

g = 77

if -1 < a < 2:

print(a % 2)

if not c and b:

print(c//a)

if 50 >= d or 2 <= d >= 8:

print(d*d)

if 0 == e and e < 100:

print(e**e)

if g and g > 77:

print(g)

The program involves tracing the possible output of the code which contains a total of 5 variables. The program is written in python 3 ;

a , b, c, d, e = (10, 5 , 6, 2, 9)

#using tuple unpacking, assigns values to the variables a, b, c, d, e

if a > b:

#first if statement, tests if variable a is greater than b

e = b + 1

#if it is. Set variable e = b + 1

if b > c :

#if the above check is false, then check if b > c

e = b * 2

#if it is, set variable e = b×2

if c > d :

#if the above is false, check if c >d

e = c /2

#if it is, set, variable e to c divided by 2 ; if not

if (d>e) or (d > c):

#if either condition is true,

e = d -2

#set e to d - 2 ; if not

if e < a :

#Check if e > a

e = e * 5

# set e to e multiplied by 5

print(e)

#display the final value of e

Learn more on python programs :https://brainly.com/question/14786286

the ____number system is base 10​

Answers

Answer:

The correct answer to this question is given below in the explanation section.

Explanation:

This is a fill-in-blank question.

The answer is:

The decimal number system is base 10.

In our everyday life, we use a number system that is a Base-10 system. As we know that the base-10 is known as the decimal system and this number has 10 digital starting from 0 to 9 such as:

0,1,2,3,4,5,6,7,8,9

We use this number system in our daily accounting and in daily life and it is a base-10 number system. This number system uses 10 as its base number so it is called a base-10 system. It is also called the decimal number system.

Assume: itemCost = input(“Enter cost of item: “) Write one line of code that calculates the cost of 15 items and stores the result in the variable totalCost

Answers

itemCost = input("Enter cost of items: ")

totalCost = 15 * float(itemCost)

print(totalCost)

The first line gets the total cost of the item from the user. The second line calculates the cost of 15 of those items and stores that value in the variable totalCost. The last line is just to test that our calculation works. I hope this helps!

One line code that calculates the cost of 15 items and stores the result in the variable total cost is written below.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

itemCost = input("Enter cost of items: ")

totalCost = 15 x float(itemCost)

print(totalCost)

The user is asked for the item's total cost on the first line. The cost of 15 of those things is calculated in the second line and is stored in the total cost variable. The final line merely serves as proof that our math is correct.

Therefore, the one-line coding is written above.

To learn more about coding, refer to the link:

https://brainly.com/question/29906210

#SPJ2

Select the correct answer. What do bureaucrats do on a wiki website? A. Settle disputes between users. B. Manage the wiki's infrastructure. C. Add or remove editors of a wiki. D. Assign or remove administrator rights on wikis.

Answers

Answer:D ,Assign or remove administrator rights on wikis.

Explanation:

Write a program in Java to display the given pattern.
1
3 5
5 7 9
7 9 11 13
9 11 13 15 17
—————————————
• kindly don't give improper or spam answers
• best of luck! :)​

Answers

Answer:

class Main {  

 public static void main(String args[]) {

   for(int i=0; i<6;i++) {

       for(int j=0;j<i+1;j++) {

           System.out.printf("%d ",2*i+1+2*j);

       }

       System.out.println();

   }

 }

}

Explanation:

You will need two nested loops for sure.

For the exact assignments of variables, many flavors of the solution exist, this is just one possible option.

what is the correct value of x in the equation 3=⅛×​

Answers

Answer:

x=24

Explanation:

3=1/8x

3*8 = 8(1/8)x  - multiply 8 on both sides to cancel the fraction

3*8 = x  - multiply 3*8 to get x

x = 24

PowerPoint Online automatically saves your presentation to what Office Online application? OneDocument OneDrive OneNote OneWay

Answers

Answer:

OneDrive

Explanation:

OneDrive is Microsoft cloud storage service. so it makes sense it would save it their :)

Answer:One DriveExplination:

Another term that describes the preconditions and postconditions associated with a method is

Select one:
a. contract
b. rubrik
c. exception
d. outcome

Answers

Answer:

Answer option C: Exception.

Explanation:

Should be the correct answer.

BRAINLIESTTTT How does a project manager evaluate the scope of a project?

Determine the overall work that needs to be completed to deliver the desired product, service, or end result
Estimate some of the resources that are needed to deliver the desired product, service, or end result
Evaluate the time it will take to deliver the desired product, service, or end result
Guess how much money it will cost to deliver the desired product, service, or end result

Answers

Answer:

The first choice

Explanation:

I took the test and that was the correct answer

Hope it helped!

Which line defines a valid CSS rule?
A.
p {color:0, 0, 0;}
B.
p {color: red; }
C.
p {font: rgb(0, 0, 0); }
D.
p {font: red;}

Answers

Answer:

B

Explanation:

The valid CSS rule among the options provided is p {color: red;}. This rule sets the color property of the "p" element to the value "red." Thus, option B is correct.

In web development, a CSS rule is a set of instructions that defines how a particular HTML element or group of elements should be styled or displayed on a web page. CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML (Hypertext Markup Language).

A CSS rule consists of two main parts: a selector and one or more declarations. The selector determines which HTML elements the rule will apply to, and the declarations specify the styles and properties that should be applied to those elements.

Learn more about HTML on:

https://brainly.com/question/15093505

#SPJ6

Why is simplicity important in navigation design?
A. It provides users with more choices and control.
B.
It makes navigation easy to understand.
C.
It reduces the load on the user's memory.
D.
It makes the design more attractive.

Answers

I think it’s B.
Since it’s sometime easier to visually see something.

Now imagine that the smart watches have been purchased for all employees. A company wellness program has been set up to encourage employees to use their smart watches to monitor their fitness activities both in and out of the office. The company views this program as a success and wants to keep it running. You now need to consider how you will be able to maintain upgrades for this program.

Answers

Explanation:

Analyzing the scenario of the question above and the information about the success of the organization's wellness program, it is necessary that for the program to remain updated and bringing significant benefits to the company, project program management must be carried out, that is, control and maintenance of the variables that make up the program.

For this, it is necessary to analyze and develop effective management actions so that the program continues to achieve its goals. It is necessary to align the program's objectives to organizational planning, managing its life cycle, eliminating possible restrictions and finding solutions.

It is also necessary to include a management of the benefits of the program, the management of the stakeholders, etc., so that the program continues to have the results expected in the organization.

What is the outcome when a floating-point number is divided by zero?

Select one:
a. Infinity
b. An exception is thrown
c. A random "garbage" value is generated
d. This outcome is undefined

Answers

Answer:

Answer option A: Infinity

Edhesive 4.8 code practice:Question 2 answers

Answers

Answer:

for x in range(88,43,-4):

   print(x, end=" ")

Explanation:

just copy and paste from above and you will get a 100 percent

Brenda typed a few lines on a word processor. She then pressed F7 key to proofread her file. What type of key did Brenda press?
OA. function
OB. alphabetic
OC. numeric
OD. punctuation
O E. control
Pls help

Answers

Answer:

Function key

Explanation:

Given

F7 Key

Required

What does it stand for?

On a computer keyboard, the F7 key is one of the function keys.

There are 12 function keys labelled F1 to F12, each of which have designated functions.

So, from the list of given options, option A answers the question.

Analyzing other options:

Alphabetic implies A - Z in upper and lower case

Numeric implies digits 0 to 9

Punctuation implies punctuation marks such as . , ; : etc.

Control implies the ctrl key

Answer:

aa

Explanation:

give some examples where military needs have influenced technological development

Answers

Answer:

Satellite Systems,

Autonomous Vehicles

What tag works as a dictionary between text & computer bytes?

Answers

Answer:

Here is some python code

Explanation

how do you make a triangle on art.kano.com

Answers

Umm, I guess you just try to do one? I don't know.. Sorry if I couldn't help out.

I believe you can do it!

Answer: I would watch a YouT-ube video on a tutorial on doing that

But i am pretty sure it involves coding

Explanation:

Serena is adding headers and footers in the Slide Master view using the Header and Footer dialog box What is not
an option on the Slide tab to be included in the header and/or footer?
Slide Number
O Date and Time
O Company Logo
O Don't Show on Title Slide

Answers

Answer:

NUMBER 3

Explanation:

Answer:

it is c

Explanation:

how many bits would be needed to count all the students in class today

Answers

Answer:

5 bits

Explanation:

Most classes have around 20 student with a 5-bit system goes up to 31 ( 1+2+4+8+16) and a 4-bit system(1+2+4+8) goes up to 15. Bits are the 1s and 0s and so a 5-bit system looks like this: 01001(18).

A ball is at rest on top of a roof of a car.

Answers

Answer:

When it is in frictional force or in the action of movement varies the speed and if it will stop

Explanation:

If a object is in action a out side force is needed to make it start or stop

Two forms of compression are lossy and lossless. State giving reasons which
would be the most suitable form of compression to use when transmitting:
(i) a draft manuscript for a book.
(ii) A video recording which you have made of the school play.

Answers

Answer:

(i) When transmitting a draft manuscript for a book, the lossless compression technique is most suitable because after decompression, the data is rebuilt and restored in its form as it was from where it originated

(ii) When transmitting a video recording which you have made of the school play, a lossy compression technique is most suitable because the large size of video files require the increased data carrying capacity which is provided by the lossy transmission technique. The quality of the video can be reduced without affecting the message intended to be delivered

Explanation:

today food is produced and transported all over the world. name some pros and cons of it.

Answers

Answer:

Waste and left

Explanation:

Pros: Widespread Food Variety, Larger Food Quantity

Cons: Extra Uses Of Non-Reusable Energy By Transport, Taxes

30 POINTS
What is relative referencing?
a system of referring to cells using letters for columns and numbers for rows
a method of formatting text in spreadsheet cells so none of it is cut off
a formula for calculating the optimal width of columns and height of rows
a bulleted list of all of the information included in a spreadsheet

Answers

Answer:

A. A system of referring of cells using letters for columns and numbers for rows

Explanation:

Got it right on Egde 2020

Relative referencing is a system of referring to cells using letters for columns and numbers for rows. Thus, option A is correct.

What is cell?

All living creatures and bodily tissues are made up of the smallest unit that can live on its own. A cell is the tiniest, most fundamental unit of life, responsible for all of life's operations.

Absolute cells, do not change regardless of where they are replicated. When a formula is transferred to some other cell, the cell size references change. In the field, they are diametrically opposed. As a result, the absolute cell referencing is constant and the relative cell referencing formula is copied to another cell.

Therefore, Relative referencing is a system of referring to cells using letters for columns and numbers for rows. Thus, option A is correct.

Learn more about on cell, here:

brainly.com/question/3142913

#SPJ3

What is unique about a dual-axis chart?
O Data is coded with two different colors.
O Data is charted by two different types of data.
O The information on the axis has two different fonts.
x One set of data is shown two different ways

Answers

Answer:

B: data is charted by two different types of data.

Explanation:

Got it correct in edge.

Answer:

B) Data is charted by two types of data.

Explanation:

what are the parts of plants that store most stach ?
A. Roots, Leaves and Seeds
B. Seads, Roots and Leaves
C. Seeds, Roots and Tubers
D. Tubera, Seeds and Leaves

Answers

Answer: A. Roots, Leaves and Seeds

Explanation:

Starch is produced in plants through the process of photosynthesis. The energy that is gotten from the rays of the sun during photosynthesis is stored by plants so that they can use it later.

Plant store starch in the roots. An example is potato. Others store it in their leaves and seeds as well. Therefore, the parts of plants that store most starch are the roots, leaves and seeds.

The correct option is A.

What term is commonly used to refer to HTML formatting?

Answers

Answer:

<html> or </html>

Other Questions
Solve for x. Type only the number in the space below. Of all the potential causes of destruction created by hurricanes, storm surges produce __________. A. the greatest threat to loss of life B. no real threat to people or cities C. the only valid threat to structural damage D. the smallest threat damages faced on land If F, G, and H are the midpoints of the sides of triangle JKL , FG = 37, KL = 48, and GH = 30 find each measure 5/3 7 PLZ HELP ME OUT!!! (I can't figure it out!) so is anyones brainly not working or is it just me Type your answer in decimal form. Do not round. 2/5 tons = pounds Fill in: bumpy, hang, treats, disappeared,crashing.1 Andy gave the dogs some................when they finished the ride.2 The country road is very.............so drive slowly3 After a couple of lessons, he finally gotthe.............of it.4 We could hear the water.................down as we got closer to the waterfall.5 Soon, his worries..................and he enjoyed the trip. HELP!!!!!!!!When was Czechoslovakia broken up into two countries?1948198019921946 Very few people have a definite and pure somatotype. True False Brainliest.... help?what was a lasting impact of the Articles of Confederation? how did Luigi Galvani's accomplishments help benefit our world with discoveries about electricity? Please help i'm timed!!In the equation 19.8 x 2.3 = n, what is the value of n? Solve 0=2y8x+10 for y Which expressions are equivalent to 2(4f+2g)? CHOOSE 3 ANSWERSA. 8f + 2gB. 2f(4 + 2g)C. 8f+4gD. 4(2f+g)E. 4f+4f+4g f(x) = 2x - 4; g(x) = { f(x) Henry misinterperted the writing instuctions for the assignement and wrote an expository parer instead what dose misinterpreted most likely mean help me. Please?A college course on the history of investigative reporting would be an important course for an aspiring journalist.TrueFalse 27.0 mL to the nearest milliliter Answer pleaseFastFast What is the correct answer for both?