Flashcards
Branching algoritm

Flashcards do conjunto (3)
- 1—The program calculates the sum of the digits of a three-digit number.

- 2a=int(input()) d=(a//2)*2+2 print(d) Determine the result if a=5 was entered.d=6
- 3Write a code in Pythonx = float(input())
if x > 0:
Y = 2 * x
else:
Y = x ** 2
print(Y)
Informações
- Descrição
- FlashCards sobre Branching algoritm, criado por Ainagul Ermekova em 16-09-2024.
- Criado por
- Ainagul Ermekova
- Visualizações
- 10
- Avaliação