My first programming experience! - Phyton

Words
797
Reading
4 min
Listen
Play
2y

Español - Click aquí


¡¡Un weekee-saludo a todos los Hivers, especialmente miembros de esta comunidad!!

Hace unos días en mi primer post les conté que comencé a dirigir mi interés hacia la programación, y ese comienzo fue hace dos semanas cuando terminé los exámenes de curso. Me planteé una meta personal de estudiar lo suficiente para llegar a comprender todo un lenguaje de programación antes de que culminen estos dos meses de vacaciones, cualquier lenguaje, y al final me decidí con Phyton

Hablando de mi primera impresión con este lenguaje, me impresionó la facilidad de comprenderlo. He visto otros lenguajes de alto nivel (fáciles de leer y entender, sin mucha necesidad de saber programar), pero ninguno igual, ninguno tan poderoso. Pinterest, Instagram, Dropbox, Spotify, Netflix y Blender 3D, este último el que uso para animar, fueron programados en su mayoría con Python.

Descargué varios cursos de más de 4 horas, correspondientes a todos los niveles de aprendizaje y comencé mi proceso. A cada rato pauso los videos para hacer pruebitas con los comandos que me enseñan, como debería ser cualquier práctica, pero mis deseos de hacer algo divertido de inmediato no se aguantan.

Un ejemplo de algo que hice fue un comando que convertía las letras L y R de una frase en doble uves; a veces tenía resultados muy enredados y cómicos según la frase que era introducida, especialmente en inglés.
"Los perros le ladraron a Larry" pasaba a ser "Wos pewwos we wadwawon a Wawwy"
Parece bastante tonto pero este tipo de cosas me da motivación para seguir aprendiendo pues hacen que me divierta. Como mencioné en el post pasado, 'humor muy roto'.

Sin embargo, más tarde aprendí a perfeccionar el código; Phyton es un lenguaje sensible a mayúsculas y minúsculas, pues necesitaba que las letras L y R fueran cambiadas, en cualquiera de esas dos formas en la frase, por doble uves. A medida que pasa el tiempo me hago más eficiente en escribir comandos, practico haciendo problemas cotidianos que incluyen cálculos matemáticos, cosa que me encanta aplicar, y simples instrucciones lógicas.

Toda práctica es buena. Me encantaría escuchar preguntas sencillas que incluyan algo de lógica o proporciones por parte de ustedes en los comentarios, ejemplos al final del post ¡Las intentaré resolver usando código como respuesta!

A weekee-greeting to all Hivers, specially members from this community!!

A few days ago in my first post I said I began to direct my interest towards programming, and that beginning was two weeks ago when I finished the course exams. I set myself a personal goal to study enough to get to understand a whole programming language before the end of these two months of vacation, any language, and in the end I chose Phyton.

Talking about my first impression with this language, I was impressed about how easy it was to comprehend it. I've seen other high-level languages (this means they're easy to read and understand, without the need to know how to program), but none like it, none as powerful. Pinterest, Instagram, Dropbox, Spotify, Netflix and Blender 3D, the last one being the one I use to animate, were mostly programmed with Python.

I downloaded several 4+ hour courses, corresponding to all learning levels and started my process. Every now and then I pause the videos to do some tests with the commands they teach me, as any practice should be, but my desire to do something fun right away can't be held back.

2.jpg

An example of something I did was a command that turned the letters L and R in a sentence into W's; sometimes it had very convoluted and comical results depending on the sentence that was entered, especially in English.
"Larry follows the laws" would become "Wawwy fowwows the waws".
It seems rather silly but this kind of thing gives me motivation to keep learning as it makes me have fun. As I mentioned in the last post, 'very broken humor'.

3.jpg

However, I later learned to make the code how it should had been; Phyton is a case sensitive language as I needed the letters L and R to be changed, in either of the forms upper or lower in the sentence, to W's. As time goes by I become more efficient at typing commands, I practice doing everyday problems that include mathematical calculations, which I love to apply, and simple logical instructions.

1.jpg

Any practice is good practice. I would love to hear simple questions that include some logic or proportional issues from you in the comments, like the ones below, and I will try to solve them using code as a reply!

4-1.jpg

weekee goodbye.gif


The softwares I used were Pycharm, the Community version, and Phyton Coding for Android. My English in this post was supported a bit by DeepL this time.

My first programming experience! - Phyton | Ecency