What was the content of the lesson? It is hard to answer a question we need context on.
Answer:
DVI cable
Explanation:
DVI is for video signals.
Some monitors have a usb hub built in and therefore also have a USB connection, but that is not their primary function.
Answer:
Variable, operator, expression, value.
Explanation:
We could use variables, operators, expressions, and values in a mathematical formula, we're going to do an example with every part.
For this example we're going to use a simple sum formula:
First, we have 3 variables:
sum;
sum1;
sum2;
Second, we have 3 operators:
=, + and *
Third, we have our expression and 1 value:
sum = sum1 + (sum2 * 5);
(sum2 * 5) = expression;
5 = value;
We're going to see the result when we print the variable sum.
You're setting the value of user_num to 20. Doing this won't allow the other test cases to run. Simply delete that line and your code should work. This is the code I wrote:
user_num = int(input())
while user_num>=1:
user_num/=2
print(user_num)
I wrote my code in python 3.8. I hope this helps.