Skip to content

Conversation

@Jlopezjlx
Copy link

PR request, changes done

opcion=int(input("Inserte opcion deseada: "))
valor1 = int(input("Inserte primer valor: "))
valor2 = int(input("Inserte segundo valor: "))
while loop == True:
Copy link
Member

Choose a reason for hiding this comment

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

Change this to:

while True:

and remove the loop variable. To stop the execution of the endless loop add one more operation (6-Exit) and when you get 6 as an operation stop the loop (example https://wiki.python.org/moin/WhileLoop).

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

print("CALCULADORA")
print("OPCIONES: \n1-Suma\n2-Resta\n3-Multiplicar\n4-Dividir\n5-Restante")
import maths
loop = True
Copy link
Member

Choose a reason for hiding this comment

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

You do not need this, check comment below.

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

@Jlopezjlx
Copy link
Author

All is Fixed

@KenanBek KenanBek merged commit a2403af into CoderVlogger:master Apr 8, 2019
@KenanBek
Copy link
Member

KenanBek commented Apr 8, 2019

@Jlopezjlx did you update the PR?

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