Karteikarten
Branching algoritm

Karten in diesem Stapel (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)
Informationen
- Beschreibung
- Karteikarten am Branching algoritm, erstellt von Ainagul Ermekova am 16/09/2024.
- Erstellt von
- Ainagul Ermekova
- Aufrufe
- 10
- Bewertung