Skip to content

Solution of Polygone 360 is broken #130

@PLMbugz

Description

@PLMbugz

Voici mon code :

def polygone(n:Int,x:Int) {
  for (i <- 1 to n) {
    avance(x);droite(360/n)
  }
}

override def run() {
  polygone(360,2)
}

Une erreur est renvoyée sur la position pour une cause inconnue.

Lesson: turtleart
Exercise: turtleart.polygon360.Polygon360
Programming Language: Scala
Lang: fr
PLM version: 2.6-pre (20150202)
webPLM version: 2.0.3
Public user ID: PLM51ec212414ae7a86a5ef9ab8171712951df5752e

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