You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hemos decidido perseguir el sueño de ser dueños de una pequeña empresa y abrir una tienda de muebles llamada Lovely Loveseats for Neat Suites en Fleet Street. Con nuestro nuevo conocimiento de la programación de Python, vamos a construir un sistema para ayudar a acelerar el proceso de creación de recibos para sus clientes.
En este proyecto, almacenaremos los nombres y precios del catálogo de una tienda de muebles en variables. A continuación, procesará el precio total y la lista de artículos de los clientes, imprimiéndolos en el terminal de salida.
Añadiendo el Catalogo
1- Añadamos en nuestro primer artículo, el Lovely Loveseat que es el nombre de la tienda. Cree una variable llamada lovely_loveseat_description y asígnele la siguiente cadena: "Lovely Loveseat. Tufted polyester blend on wood. 32 inches high x 40 inches wide x 30 inches deep. Red or white."
2- Si su impresion uso comillas dobles " cambieles a comillas simples. Si usted uso comillas ' cambielas por comillas dobles.
3- Escriba la variable meal y asignele el valor de breakfast e imprimalo. Luego cambie el valor asignado por lunch e imprimalo.
4- Donde se encuentra el error de la siguiente linea de codigo? meal = "lunch, breakfast and "tea". Guarde en un string su respuesta y asignela a una variable llamada error_encontrado. Ahora en una nueva variabla llamada tipo_de_error asignele un string con el tipo de error: "sintax error" o "name error".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters