About a year ago my eyes would’ve glazed over and I would’ve not read a blog that began with a screenshot of computer code as I just did. Hopefully you’re still with me even if you’re not yet sure why anyone in their right mind would learn how to talk to computers in their spare time. This blog is the third in a series about my experience learning the basics of Python programming language in support of my professional dream to use data to end hunger and promote nutrition. This is the week where you get to see some of my work in the Rice University Coursera course I am auditing this summer. This is where perhaps you’ll have an “aha” moment like I did about how cool it is to be able to make your computer listen to you.
During Week 0 of the course, I learned about statements, expressions and variables. The image at the start of this blog is an application of that lesson in a web-based CodeSkulptor environment. This program generates random numbers when two dice are rolled and adds them together and also performs basic math functions. The satisfaction I felt when the program worked with no red error messages was priceless and encouraging. Logic, Conditionals and functions were covered in week 1. The mini project at the end of week 1 mimics the game rock-paper-scissors-lizard-spock.
Ok, Laura – show us something with pretty pictures, please! This text is killing me!
During the rest of the course I learned about event-driven programming and how to use GUIs to draw shapes and make interactive games with a bit more color such as Guess the Number. I learned about lists and modeling motion to create a game called Pong. I gained the rudimentary Python programming skills to allow a user to enter a value and have the computer return something on a canvas. My favorite activity was making the output text read fun things like “Women coders rock” and “Go Hoosiers!” To see all the final animated images and related Python code, visit my GitHub site. I know this is just the beginning into the world of Python and that I have a lot more to learn but I am excited about this great start!
Hey Laura , I’m a young IT student with a humble knowledge of the Phython Language. This blog is truly awesome as a Hispano hablante me alegro mucho que te emocione tanto aprender mi primer lenguaje de programación.
Un saludo desde Venezuela.
P.s: I wish there was Python classes in Spanish at least in online educational platforms but hey if I see you dictating a Python Course in the future , count me in!
LikeLike
!Saludos, Juan! He encontrado algunos enlaces para aprender Python en Espanol. http://docs.python.org.ar/tutorial/pdfs/TutorialPython3.pdf y http://www.learnpython.org/es/
(Here are a few Python resources I found in Spanish. Let me know if they are helpful.)
LikeLike
I’m glad to hear that you are enjoying Python programming. If you ever need help learning, I tutor Python so feel free to reach out.
LikeLike
Thanks for reaching out. Cheers, Laura
LikeLiked by 1 person