ZhongliXiansheng
ZhongliXiansheng ZhongliXiansheng
  • 20-05-2021
  • Computers and Technology
contestada

Hattie uses the line of code num == 7 to assign the number 7 to the variable named num. What correction should be made?

This is in Python

Respuesta :

60002135330 60002135330
  • 20-05-2021

Answer:

num = 7

Explanation:

num == 7 is basically asking "does variable num = 7".

== is for verification and = is for assigning

Answer Link

Otras preguntas

What are three pressures that lead to biodiversity according to E.O Wilsons Theory Of island Biogeography
-5(2b + 7) + b < -b - 11
A deficiency of calcium can lead to:(Points : 2) a. scurvy b. anemia c. nausea d. osteoporosis
Which of the following tends to increase when a country is becoming more democratic
Lamar spent $16.25 on peanuts.If he bought 2.6 pounds of peanuts cost?Show all your calculations.
Locate the subordinate clause in the following sentence, and identify it as a noun, adjective, or adverb Since I stopped vacuuming, the house has become dusty
After a large snowstorm, you shovel 2,500 kilograms of snow off of your sidewalk in half an hour. You lift the shovel to an average height of 1.5 meters while y
How do you use a quick picture to find a math answer
u^-3=1/125 i dont know how to do this, please explain
Martha paid $42.40 for her sisters birthday present. This included 6% sales tax. What was the cost of the gift before tax?