O seguinte programa em Python calcula o fatorial de um número. Indique qual é a alternativa que preenche as linhas 2 e 5 do programa corretamente.
a.

2. fatorial = 1

5. fatorial =* x
b.

2. fatorial = 1

5. fatorial *= x + factorial
c.

2. fatorial = 0

5. fatorial *= x
d.

2. fatorial = 1

5. fatorial = fatorial * x
e.

2. fatorial = 0

5. fatorial = fatorial * x
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Lista de comentários


Helpful Social

Copyright © 2024 ELIBRARY.TIPS - All rights reserved.