Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Division and whole part division | Arithmetic operations
Practice
Projects
Quizzes & Challenges
Quizze
Challenges
/
Learn Python from Scratch
Abschnitt 2. Kapitel 3
single

single

bookDivision and whole part division

Swipe um das Menü anzuzeigen

Division is easy - just use / operator.

If you use // instead of / Python will calculate the result and take only the whole part.

Please note the the result of division will always be type 'float' (floating point number)

Aufgabe

Swipe to start coding

Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 3
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt