1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MrRa [10]
3 years ago
11

What is wrong with this?

Computers and Technology
1 answer:
nalin [4]3 years ago
3 0

Answer:

missing bracket

Explanation:

Notice that the "body" block has an opening bracket, but no closing bracket. Instead, the "p" block starts before the "body" block has closed. The "body" block is missing a bracket.

You might be interested in
The function below tries to create a list of integers by reading them from a file. The file is expected to have a single integer
Setler [38]

Answer:

Check the explanation

Explanation:

def get_list_of_integers_from_file(filename):

int_list=[]

for line in open(filename).readlines():

try:

int_list.append(int(line))

except:

continue

return int_list

print(get_list_of_integers_from_file('file.txt'))

 

File.txt:

Kindly check the output below.

4 0
3 years ago
The ____ algorithm tries to extend a partial solution toward completion
Fittoniya [83]

Answer: Backtracking

Explanation:

Backtracking algorithm approaches a solution in a recursive fashion whereby it tries to build answers and modify them in time intervals as we progress through the solution. One such backtracking algorithm is the N Queen problem whereby we place N Queen in a chessboard of size NxN such that no two queens attack each other. So we place a queen and backtrack if there is a possibility that the queen is under attack from other queen. This process continues with time and thereby it tends to extend a partial solution towards the completion.

8 0
3 years ago
Which of the following applies to a trademark?
Lemur [1.5K]

Answer:

a

Explanation:

4 0
3 years ago
How do you see everyone on a schoology conference
Vikentia [17]
I don’t think you can
6 0
3 years ago
The southwest of the U.S. has its own regional identity composed of what three cultural groups
never [62]
<span>It is composed of Native Americans, Hispanics, and Anglos. There is a high number of Native Americans that live in Arizona and New Mexico. The Hispanic population is significant in Flagstaff, Yuma, Mesa, Glendale, St. George, Las Cruces, Santa Fe, and Pueblo. The area had first been that of the Native Americans, and it was close to Mexico, making it easy for Hispanic integration. The Europeans later took this area over.</span>
6 0
3 years ago
Other questions:
  • This semester we looked at three languages (C++, Java and Python). One common rule in all three class checklists (for C++, Java
    11·1 answer
  • 2. Imagine you play a game of fetch with the dog. It takes the dog 60 seconds to run a total of 180 meters. What was the dog's a
    6·1 answer
  • Consider the following program segment. ifstream inFile; //Line 1 int x, y; //Line 2 ... //Line3 inFile &gt;&gt; x &gt;&gt; y; /
    6·1 answer
  • "As a ____ database management system, Access is particularly powerful because you can enter data once and then retrieve informa
    6·1 answer
  • Well this isn't school related, but how do i watch dubbed and subbed anime for free on my computer?
    7·2 answers
  • Raul in Colombia can enter data into a spreadsheet. Olivia in England can access the spreadsheet a few minutes later and use Rau
    7·1 answer
  • Discuss, in detail, the usefulness of graphics and images in program development. Explain the importance of the interface of a c
    7·1 answer
  • Pls help have absolutely no clue how to delete this
    12·2 answers
  • Suppose we want to select between two prediction models M1 and M2. We have performed 10-fold cross validation on each. The error
    14·1 answer
  • The term Linux Intrusion Detection System ( LIDS) refers to a command that allows an administrator to run processes as root with
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!