subject

Below is a Python code. I have to debug it. What's wrong with it, please? num_beans = 800
num_jars = 2
total_beans = 0

print(num_beans, 'beans in', end=' ')
print(num_jars, 'jars yields', end=' ')
total_beans = num_beans * num_jars
print('total_beans', 'total')

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
question
Computers and Technology, 24.06.2019 21:30
Write an algorithm to check if a number is even or odd and show with flow chart step by step
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
Systolic pressure is a measure of blood pressure when the ventricles relax and fil with blood ture or false
Answers: 1
You know the right answer?
Below is a Python code. I have to debug it. What's wrong with it, please? num_beans = 800
nu...
Questions