Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <problem>
- <p>Algunos problemas en el curso utilizarán parámetros aleatorizados.
- Para tales problemas, despues de que verifiques la respuesta tendras
- la opción de restablcer la pregunta, lo cual reconstruye el problema
- con un nuevo conjunto de parámetros.</p>
- <script type="loncapa/python">
- x1 = random.randint(0, 100)
- x2 = random.randint(0, 100)
- y = x1+x2
- </script>
- <p>Con (x_1 = $x1) and (x_2 = $x2). ¿Cuál es el valor de (x_1+x_2)?</p>
- <numericalresponse answer="$y">
- <responseparam type="tolerance" default="0.01%" name="tol"
- description="Numerical Tolerance"/>
- <textline size="10"/>
- </numericalresponse>
- <solution>
- <p><b>Explicación:</b></p>
- </solution>
- </problem>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement