🐢
Block or Report
Block or report eloidrai
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
-
-
rpn.hs
rpn.hs 1evalRPN exp = foldl calcul [] (words exp)
2where
3calcul (a:b:stack) "+" = (a+b):stack
4calcul (a:b:stack) "*" = (a*b):stack
5calcul (a:b:stack) "-" = (a-b):stack
-
Dessine une Courbe du Dragon. Prend ...
Dessine une Courbe du Dragon. Prend 2 paramètres : le nombre d'itérations et la longueur d'un trait. 1import turtle
23iterations = int(input("Combien d'itérations ? "))
4longueur = int(input("Quelle longueur veux-tu pour un trait ? "))
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.