We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f6fb2c commit b854af2Copy full SHA for b854af2
Roadmap/19 - ENUMERACIONES/python/davidrguez98.py
@@ -69,10 +69,10 @@ def ship(self):
69
70
def deliver(self):
71
if self.status == order_status.Shipped:
72
- self.status == order_status.Delivered
73
- print("El pedido ya se ha entregado.")
+ self.status = order_status.Delivered
+ print("El pedido ya se ha enviado.")
74
else:
75
- print("El pedido ya ha sido enviado o cancelado.")
+ print("El pedido necesita ser enviado antes de entregarse.")
76
77
def cancel(self):
78
if self.status == order_status.Pending:
@@ -95,4 +95,4 @@ def display_status(self):
95
Order1.ship()
96
Order1.display_status()
97
Order1.deliver()
98
-Order1.display_status()
+Order1.display_status()
0 commit comments