Skip to content

[THIS IS SPAM] convertiseur devise #4112

Closed

Description

@YvonBimp

article = int(input("Entrez le nombre d'articles vendus : "))
prix_usd = float(input("Entrez le prix d'un article en USD : "))

taux = float(input("Veuillez entrer le taux : "))

com_fixe = float(input("Entrez le montant de la commission bancaire : "))

total_usd = article * prix_usd

total_cad = total_usd * taux

nb_tranches = total_cad // 100
montant_commission = nb_tranches * com_fixe

total_final = total_cad + montant_commission

print(f"Le montant en USD est : {total_usd:.2f}")
print(f"Le montant en CAD est : {total_cad:.2f}")
print(f"La commission bancaire est : {montant_commission:.2f}")
print(f"Le montant total à payer en CAD est : {total_final:.2f}")

Activity

  1. github-actions commented on Mar 11, 2026

    @github-actions
    Contributor

    Hello. Thanks for opening an issue on Exercism 🙂

    At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.

    This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!

    If you're interested in learning more about this auto-responder, please read this blog post.

  2. changed the title [-]convertiseur devise[/-] [+][THIS IS SPAM] convertiseur devise[/+] on Mar 11, 2026
  3. locked as spam and limited conversation to collaborators on Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions