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

A group of 9 people spent $78 to go to the movies. Adult tickets cost $10 each and student tickets cost $8 each. How many adult tickets were purchased?
Identify the joint injury that occurs often form natural wear and tear. a. Dislocation b. Arthritis c. Bursitis d. Bunions
What is the area of a rectangle is represented by 3x2+3x + 10x -10 what are the dimensions of the rectangle
what river located in southwest china was the boundary of the shang dynasty
a butterfly has a wingspan of 66mm and a height of 6cm which i greater its wingspan or its height
Identify the joint injury that occurs often form natural wear and tear. a. Dislocation b. Arthritis c. Bursitis d. Bunions
Which formula represents a compound whose molecules are tetrahedral? (A) BH₃ (B) C₂H₂ (C) CH₄ (D) H₂O (E) C₂H6₆
What is 6/15 reduced
write question using the words.then, answers that are true for you. you/ last year/ were/ a student
For a wall of a given material and of a fixed surface area, the rate of heat loss by conduction through the wall is inversely proportional to the thickness (T)