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 rule applies most closely to this word? avail-
Nina uses an average of 40 litres of diesel each week. Diesel is £1.30 per litre. how much does she spend on diesel each week?
What is a Grimoire? i need some help with this one :)
I need help on question 45-50
what are 'chinese whispers'?
how to solve it ...1. 5-2x²-6x2. (x+3) (x+4)=0
7x-8x+4=5x-2 solve for x
Solve for a: a2-8a+12 which is the correct a.-2,-6 b.2,6. C.-3,-4 or d.3,4 for me is Ccc help pleas
I need help on question 45-50
Find an equation of a line that comes close to the points listed in the table. X|y 6|8 10|13 12|15 16|18 18|21