Sectionย 1. Chapterย 3
single
Challenge: Chemical Quantities Calculator
Swipe to show menu
Task
Swipe to start coding
Write a Python function that calculates the number of moles in a sample given its mass and molar mass.
- The function must accept two parameters:
massandmolar_mass. - The function must return the number of moles, calculated as mass divided by molar mass.
Solution
Everything was clear?
Thanks for your feedback!
Sectionย 1. Chapterย 3
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat