top of page

Python Kittenz Online!

Hello Blog World,


Have you by any chance heard of python the programming language used for many computer applications?

It has nothing to do with python snakes, the name python came from a show called Monty Python's Flying Circus. Now you know why python is called python. Did you know it was developed by a Dutch dude named Guido van Rossum in 1989. Guido wanted a simple high level programming language with an emphasis on being able to easily read the code and express concepts in fewer lines of syntax.


Programming is used for many computer applications. Think of it as a translator between us and computers. We tell the computer what to do in very specific set of instructions and it executes that as a command from us. You can use programming to create webpages, Apps, artificial intelligence (A.I) models, robots, and basically everything in the virtual world. Here are some examples of everyday programming tools and applications:

  • Cookie factories use robots which are programmed to repeatedly perform the same task, like in a loop.

  • Video game are created mostly using C++.

  • Python is the #1 language used for creating artificial intelligence models.

  • Online schools have been using different types of video conferencing software. Did you know Zoom was created using Java?

  • Online stores use programming to help shoppers buy and sell their products. JavaScript is the most widely used programming language for ecommerce.

Programing can be useful and fun! If you are close to my age (9 years old), you can try something simple like drag and drop coding like: Scratch or Hour of Code.


Before I teach you how to draw a circle in python, let me direct you to a java script (JS) learning course. I learned JS on Khan Academy , you can learn on Khan Academy as well. First set up your account, then go into Intro to JS or search it up in the find a course, open the course and start coding!


If you want to learn python try using ether FreeCodeCamp or LearnPython.org. To practice both JS and Python you can create an account on Repl.it and add friends to you programs with a live editing option. You can find me as https://replit.com/@KittensRule.



Let me teach you how to make a circle in python, it's really easy only 3 lines of code!


1. Open your Replit.com account

2. Create a new repl using python (main.py)

3. Type this code:


#Program to draw circle in Python Turtle #hashtags mean comments, they are not part of the code

import turtle t = turtle.Turtle() t.circle(50)

#Run the Code


You can see what it looks like on my Replit account: Click Here


To draw a circle and then spiral try adding this to your first code:

#Program to draw circle and then spiral in Python Turtle import turtle t = turtle.Turtle() t.circle(50)


t = turtle.Turtle()

for i in range(100):

t.circle(10+i, 45)

#Run the Code


You can see what it looks like on my Replit account: Click Here


byeBlogWorld = True


if byeBlogWorld:

print('till next time')



70 views0 comments

Comments


Post: Blog2_Post
bottom of page