Division
Look at the explanation of the task! How does it work?
Use hints if needed! Be careful with the tabulation!
Aufgabe
Swipe to start coding
- Set condition if the
y
equals the0
. - Set the
middle
variable. Themiddle
equals theleft + (right - left) // 2
. - Return the product of the
middle
and thesign
. - Update the
left
. Theleft
equals themiddle
. - Update the
right
. Theright
equals themiddle
. - Test the function with the
x = 9
andy = 3
.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Suggested prompts:
Zusammenfassen Sie dieses Kapitel
Code in file erklären
Erklären, warum file die Aufgabe nicht löst
Awesome!
Completion rate improved to 14.29
Division
Swipe um das Menü anzuzeigen
Look at the explanation of the task! How does it work?
Use hints if needed! Be careful with the tabulation!
Aufgabe
Swipe to start coding
- Set condition if the
y
equals the0
. - Set the
middle
variable. Themiddle
equals theleft + (right - left) // 2
. - Return the product of the
middle
and thesign
. - Update the
left
. Theleft
equals themiddle
. - Update the
right
. Theright
equals themiddle
. - Test the function with the
x = 9
andy = 3
.
Lösung
War alles klar?
Danke für Ihr Feedback!
Awesome!
Completion rate improved to 14.29Abschnitt 2. Kapitel 5
single