-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path01-ejercicio.py
More file actions
16 lines (15 loc) · 782 Bytes
/
Copy path01-ejercicio.py
File metadata and controls
16 lines (15 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#Codigo original de JG Vallejo
#Modificado en el curso Python1
#Repositorio GitHub https://github.com/AngelSambrano/python1.git
pn1, pn2, pn3, pn4, pn5, pn6, pn7, pn8, pn9, pn10 = "papa", "tomate", "cafe", "jugo", "cebolla","lechuga","pimenton","queso","pan","manzanas"
pr1,pr2,pr3,pr4,pr5,pr6,pr7,pr8,pr9,pr10 = 1.2,2.5,1.6,2.8,3,3.4,2.9,8.3,2,7.1
print( f"Productos: {pn1}, Precio: {pr1}$")
print( "Productos: "+pn2+", Precio: ",pr2)
print( "Productos: "+pn3+", Precio: ",pr3)
print( "Productos: "+pn4+", Precio: ",pr4)
print( "Productos: "+pn5+", Precio: ",pr5)
print( "Productos: "+pn6+", Precio: ",pr6)
print( "Productos: "+pn7+", Precio: ",pr7)
print( "Productos: "+pn8+", Precio: ",pr8)
print( "Productos: "+pn9+", Precio: ",pr9)
print( "Productos: "+pn10+", Precio: ",pr10)