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

XYZ is a right triangle. If XY=8, what is XZ
What is a thesis statement? the prewriting strategy that most writers use the sentence that gets the audience’s attention the main idea a writer discuss
Bacteria reproduce asexually, whereas most plants and animals reproduce sexually. Which is the better method?
Evaluate the function f(x) = –2x2 – 3x + 5 for the input value –3.
A patient is scheduled to have a fecal occult blood test. before the test, the nurse shjould instruct the patient to avoid
Please help! Thanks (:
Lillian is 50 years old. her doctor has noticed a sharp decrease in her estrogen levels, and lillian is complaining about nausea and fatigue. according to the s
HELP ME Which similarities do the father and son in The Metamorphosis share with Kafka and his father? A. Both sons are rude, and their fathers are powerless
Identify the polynomial written in ascending order. (1 point) 3x3− 5x2+ 4x − 7 −5x2+ 4x + 3x3− 7 −7 + 4x − 5x2+ 3x3 4x + 3x3− 7 − 5x2
5 less than three times a number is 10