My first programming experience! - Phyton

avatar

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.



0
0
0.000
17 comments
avatar

Congratulations @anima-shot! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 400 upvotes.
Your next target is to reach 500 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

LEO Power Up Day - July 15, 2024
0
0
0.000
avatar

I know you will achieve this new goal. You can achieve anything you want, it just depends on yourself. A big kiss mi tuti 😘

0
0
0.000
avatar

I think it's a good start, a good plan. I'm sure you can do anything you set your mind to. Remember that nothing is easy, everything requires effort. Good luck my musi!🥰🤗

0
0
0.000
avatar

Hey @anima-shot! have you tried checking into Freecodecamp academy? they have this awesome foundational course on Phyton and at the end of the lesson, you'll get a certification too. Good luck on your programming journey!

0
0
0.000
avatar

Oh thank you so much! I'm sure it will help me a lot ✨.

I'll check it out right now, I never heard of it before.

0
0
0.000
avatar

You're welcome! it's amazing start if you do it from there, the tutor is amazing too. Good luck!

0
0
0.000
avatar

¿manzana? ¿pera? - ¿las naranjas dónde están? Yo puedo comer ahora mismo banana, mango o guanábana.

(weekee, no entiendo nada de programación) pero me alegra mucho que utilices tu tiempo en aprender cosas nuevas.

El problema que te planteo es el siguiente:

Haz un algoritmo que prediga, a partir de una respuesta a una pregunta aparentemente ilógica, lo que una persona decidiría si de pronto comienza a llover o antes (cuando empieza a ver y escuchar relámpagos y truenos).

¿Se bañaría en el aguacero?, ¿haría algo útil con el agua de lluvia?, ¿dormiría con ese sonido agradable golpeando el techo y las ventanas?, ¿o se meterá en un bucle de lamentaciones porque se le echó a perder la planificación que tenía, que era salir a dar un paseo?

¡Ja! ¡Suerte!

0
0
0.000
avatar

Alabao
Lo de manzana y pera salió del tutorial tranquila jajsjs

Disculpa por responderte tarde, tengo que procesar aún ese problema jiji pero tranquila cuando averigüe como hacerlo te respondo ;)

0
0
0.000
avatar

😁 jajaja... solo bromeaba. No te estreses.

0
0
0.000
avatar

La programación es muy interesante, y yo he querido aprender pero no me he propuesto a tomar tiempo para esto, porque un aspecto de la programación es la paciencia.

0
0
0.000
avatar

Tienes razón, uno de los principales requisitos es tener paciencia :), y más en esta fase de entrenamiento porque luego toca enfrentarse a los errores y problemas de la vida real.

0
0
0.000
avatar

me parece muy interesante tu post, hace un tiempo que intente iniciar en el camino de la programacion, inicie con algunos lenguajes basicos como, html, css y js, pero a la hora de adentrarme mas se me dificulto mucho el aprendizaje, te deseo mucha suerte en este gran mundo

0
0
0.000
avatar

Muchas gracias por tus deseos ✨

Espero que después de todo logres recuperar tu camino y continúes, es difícil una vez que te detienes pero estoy segura de que lo lograrás si te lo propones :D

0
0
0.000