chimorga.py

Created by gaspardsm99

Created on April 24, 2025

1.43 KB


def afficher_cours():
    print(" Nomenclature - Niveau Première")
    print()
    
    print("1. Fonctions étudiées :")
    print("- Alcane : liaison simple → suffixe -ane")
    print("- Alcool : groupe -OH → suffixe -ol")
    print("- Acide carboxylique : -COOH → acide ...oïque")
    print("- Aldéhyde : groupe -CHO → suffixe -al")
    print("- Cétone : groupe -CO- → suffixe -one")
    print()

    print("2. Préfixes (nb de C) et suffixes :")
    print(" C  Préfixe  Alcane   Alcool   Acide      Aldéhyde   Cétone")
    print(" 1   méth-   méthane  méthanol méthanoïque méthanal   -")
    print(" 2   éth-    éthane   éthanol  éthanoïque  éthanal    -")
    print(" 3   prop-   propane  propanol propanoïque propanal   propanone")
    print(" 4   but-    butane   butanol  butanoïque  butanal    butanone")
    print(" 5   pent-   pentane  pentanol pentanoïque pentanal   pentanone")
    print(" 6   hex-    hexane   hexanol  hexanoïque  hexanal    hexanone")
    print()

    print("3. Exemples :")
    print("- CH3CH2CH2OH → propanol")
    print("- CH3CH2CHO → propanal")
    print("- CH3COCH3 → propanone")
    print("- CH3COOH → acide éthanoïque")
    print()

    print(" Astuces :")
    print("- Préfixe = nb de carbones")
    print("- Suffixe = fonction principale")
    print("- Numérotation : position la plus basse pour le groupe principal")

# Appel de la fonction pour afficher le cours
afficher_cours()

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.