The symbol that we do use to assign a value to a variable or constant in algorithms is =.
<h3>What is used to assign a constant to a variable?</h3>
The const keyword is known to be one that tends to specifies a variable or object value that is known to be constant.
In computing and computer programming, there are different kinds of variables as well as symbols that are used for different purposes.
Note that if you assign a variable, you need to use the = symbol and thus The symbol that we do use to assign a value to a variable or constant in algorithms is =.
Learn more about algorithms from
brainly.com/question/13800096
#SPJ1
<span>Cuando el proxeneta está en la cuna
Baja como si estuvieras en llamas
Baja como si estuvieras en llamas
Baja como si estuvieras en llamas
Cuando los cerdos tratan de llegar a usted
Estaciona como si estuviera caliente
Estaciona como si estuviera caliente
Estaciona como si estuviera caliente
Y si un negro consigue una actitud
Pop como si estuviera caliente
Pop como si estuviera caliente
Pop como si estuviera caliente
Tengo el Rolly en mi brazo y estoy derramando Chandon
Y hago el mejor rollo de hierba porque lo tengo corriendo</span>
Answer:
def display_factors(num):
for counter in range(1, num+1):
if num % counter == 0:
print(counter)
int_num= int(input("Enter a number : "))
print("The factors for {} are : ".format(int_num))
display_factors(int_num)
Explanation:
The function display_factors is used to display all factors of a number entered by a user.
- In this for counter in range(1, num+1) the for loop is iterated until counter is greater to num is false. Counter variable starts from 1 and ends when it gets greater than the input number.
- if num % counter == 0: In this statement, each loop iteration, checks whether a number (num) is exactly divisible by counter. It is the condition for counter to be a factor of num.
- print(counter) This is used to display factors of an input number
- int_num= int(input("Enter a number : ")) This statement asks user to enter a number (int_num) which will be an integer.
- display_factors(int_num) This calls display_factors number to find the factors of an input number.
<span>I presume the 2 at the end of the formula is a typo (as the 2 and half will cancel each other out if it means to multiply by 2)
pseudocode excludes it: float s0 = 12.0
float v0 = 3.5
float a = 9.8
float t = 10
s = s0 + v0 * t + (a * t) / 2 Output(s) </span>
In Microsoft Word, he should go to Page Layout and then to Margins.