Flashcards
Branching algoritm

Cards in this deck (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)
Information
- Description
- Flashcards on Branching algoritm, created by Ainagul Ermekova on 16/09/2024.
- Created by
- Ainagul Ermekova
- Views
- 10
- Rating