Skip to content

Conversation

@iraidamercedes
Copy link

No description provided.

Copy link

@hyfi06 hyfi06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments

# Use math.pi for π value
pass

area = round((math.pi * pow(radius, 2)),2)
Copy link

@hyfi06 hyfi06 May 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por qué reondeas a 2? esto depende del caso de uso. Si tu instrumento de medición, normalmente se toda la mitad de la mínima escala. Por ejemplo una regla que mide milímetros, tendrías que tomar 0.0005 m como incertidumbre. Manejar más decimales no tiene sentido.

@hyfi06
Copy link

hyfi06 commented May 15, 2020

Usando TDD? ver para creer, hubieras hecho dos commits ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants