Update practica1.py

fix errors