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 did economist John Maynard Keynes say was necessary to restart the economy during the Depression? (A) Using government spending to increase consumer demand
for each lion, there are 7 giraffes
why did spanish leaders want to push spanish control into north america in the mid 1500's?
an organism that obtains energy from other orginisms
which of the following are equal to the expression below ? 2• 49
Who did the samurai serve?
Ted needs an average of at least 70 on his three history test he has scored already 85 and 60 on two test what is the minimum grade ted need on his third test?
You should avoid having more than three people in a group portrait. True or False
which source would help a historian best understand the effect of the civil war on soldiers families?
Would a person wearing dark cloth on a hot day feel cooler or warmer than a person wearing light colored clothing? Explain your answer using what you learned ab