Summary
Keywords
Full Transcript
En este tutorial vamos a: - Convertir una expresiรณn matemรกtica en cรณdigo de python. - Redondear nรบmeros decimales a mostrar con las funciones de f-string de python. Codigo: a= float(input("Ingresa el valor de a:")) b= float(input("Ingresa el valor de b:")) c= float(input("Ingresa el valor de c:")) d= float(input("Ingresa el valor de d:")) e= float(input("Ingresa el valor de e:")) f= float(input("Ingresa el valor de f:")) res=(a+b/c) / (d+e/f) print(f"Humano aqui esta tu pich... resultado:{res:,.3f}") Codigo: https://github.com/programadornovato/curso-python/commit/336b1a4e11ab8feb46848389541938dc9e291a2d ๐ Programador Novato: https://www.programadornovato.com/14-curso-de-python-2019-ejercicio-02-expresiones-matematicas/ ๐ฆMismo ejercicio en c++: https://youtu.be/ESf11c3UYRM ๐ฆ[CURSO] PYTHON PARA PRINCIPIANTES๐: https://www.youtube.com/playlist?list=PLCTD_CpMeEKRppvi86Dy8CPYZ8-XzN2qu ๐ฆ[Curso] Java Netbeans Completoโ: https://www.youtube.com/playlist?list=PLCTD_CpMeEKTT-qEHGqZH3fkBgXH4GOTF ๐ Gracias por apoyar este canal: https://www.patreon.com/programadornovato ๐ Facebook: https://facebook.com/ProgramadorNovatoOficial ๐ Twitter: https://twitter.com/programadornova ๐ Linkedin: https://www.linkedin.com/in/programadornovato/ ๐ Instagram: https://www.instagram.com/programadornovato/ ๐ Pagina oficial: https://www.programadornovato.com #python #programadornovato #curospython #inputpython
