Challenge: Chemical Quantities Calculator
Tâche
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
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 3
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain that in more detail?
What are the main benefits or drawbacks?
Can you give an example?
Génial!
Completion taux amélioré à 5.26
Challenge: Chemical Quantities Calculator
Glissez pour afficher le menu
Tâche
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
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 3
single