+ 1

Complete the code

items and boxes items items □18 box=6 □(items/boxes)

30th Nov 2024, 2:40 PM
M J
5 odpowiedzi
+ 5
What do you think goes in the blanks? Read the lesson again: Which sign is used to assign a value to a variable? How does one print the result of a calculation?
30th Nov 2024, 2:50 PM
Lisa
Lisa - avatar
+ 4
You may wish to review the chapter. The question here is designed to make sure you understand a couple very basic concepts that are essential for you to understand the next phase of the course. You can see on this there are only three lines. Two variables are assigned and then the output is printed. So you need to understand two concepts: 1. How do you assign a variable? What is missing on that assignment? You can see the second line is also an assignment so that serves as an example for you. 2. How do you output the results of the division on the last line? You will use a function call to output the results. What function displays output? If you don't know, just go back and review the chapter. Try not to be in a big hurry to get through the courses. The important thing is to learn what's being taught. We are not providing answers for a reason. We want you to learn the material. We know you can sort this one out.
30th Nov 2024, 4:32 PM
Jerry Hobby
Jerry Hobby - avatar
+ 1
I need help for this Code items and boxes items □18 box=6 □(items/boxes)
30th Nov 2024, 2:42 PM
M J
+ 1
the answer for the first box is in the line below it. the last line is a way to show your result.
1st Dec 2024, 1:44 AM
Bob_Li
Bob_Li - avatar
0
Items is a variable and we need to assign the = value for declaring the 18 as a variable and in last we need to write the print command to print the items and boxes division value
1st Dec 2024, 8:59 AM
Prince Gupta
Prince Gupta - avatar