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
ankoles [38]
3 years ago
13

Atheel tests a program and gets a NameError. How can this be fixed?

Computers and Technology
2 answers:
kondaur [170]3 years ago
8 0

<u>Answer:</u>

B = Create a variable

Explanation:

First off to understand this question, you need to understand what a NameError is. A NameError is when a function or variable isn't valid, or is not defined. So what you need to do it make a variable that is valid/defined. Therefore the answer is B create a variable

I hope this helps!

Oksana_A [137]3 years ago
7 0

Answer:

You can't call a function unless you've already defined it. Move the def createDirs(): block up to the top of your file, below the imports.

Explanation:

Some languages allow you to use functions before defining them. For example, javascript calls this "hoisting". But Python is not one of those languages.

You might be interested in
Digital Media Equipment: Best Practices Quiz
natulia [17]
  1. <u>False:</u> Location of a video or photoshoot is not important when it comes to preplanning the shoot.
  2. <u>True:</u> Booms are large adjustable poles to mount microphones.
  3. <u>False:</u> It doesn't matter what you clean your camera lens with- you should just grab whatever cloth you have.
  4. <u>True:</u> Safety should be the most important thing when conducting a photo or video shoot.
  5. <u>True:</u> It's important to properly clean and store your equipment after a photo or video shoot.

<h3>What is a photoshoot?</h3>

A photoshoot can be defined as a photography session that involves the use of <u>digital media</u> equipment to take series of pictures (photographs) of models, things or places, etc., especially by a professional photographers.

<h3>The digital media equipment in a photo or video shoot.</h3>

Some examples of the <u>digital media</u> equipment that are used in a photo or video shoot include the following:

  • Boom
  • Camera
  • Microphone
  • Lenses
  • Battery
  • Tripod

Read more on photoshoot here: brainly.com/question/26643795

4 0
2 years ago
Which keyboard shortcut would you press to copy cells that are selected in a spreadsheet?
CaHeK987 [17]

Answer:

ctrl c

Explanation:

4 0
2 years ago
HELP PLEASE
GREYUIT [131]

Answer:

D, storyboard

Explanation:

5 0
3 years ago
Where are parameters such boot order, processor voltage, motherboard raid, hardware virtualization support, and overclocking con
ololo11 [35]

This is configured on the BIOS Setup. During computer start-up usually for windows system this can be accessed via pressing on ESC or Function keys on immediate start up.

6 0
3 years ago
Match each of the following terms to its function:_________
Crazy boy [7]

Answer:

I = B

II = E

III = A

IV = D

V = C

7 0
3 years ago
Other questions:
  • In the C-SCAN disk scheduling algorithm, the disk arm is required to move in one direction only until it reaches the last track
    7·1 answer
  • A restaurant is a workplace for someone whose career specialty is in
    14·2 answers
  • What kind of fragment is near the computer?
    14·1 answer
  • 4.17 LAB: Varied amount of input data ( C++)
    5·1 answer
  • When mapping a drive, you can type in the path to the shared folder on the host computer. what is the syntax for the path?
    7·1 answer
  • A social cause is: O A. when one person protests without the support of others. B. something that not many citizens think or car
    8·1 answer
  • Write a function SwapArrayEnds() that swaps the first and last elements of the function's array parameter.
    6·1 answer
  • At which track meet did two runners finish in a time equivalent to the mode?
    14·1 answer
  • This can change the fit of your respirator. A) A mustacheB) A beardC) Weight gainD) All of the above
    15·1 answer
  • 2. The internet offers a great source of information; however, how are
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!