Tuesday, September 22, 2015

The Great Python Language

Today on my blog, we will be discussing the great programming language of Python.





There are many programming languages out there, such as Python, JavaScript, HTML, CSS, Ruby, Scratch, and Cobra, but today's focus is on the Python language. When I write "Python", what pops into your head? A computer language, or a big, long, ugly snake?


When the word Python has a capital "P", it typically is a reference to the programming language. It uses special "reserved words" to achieve various actions. You may not realize it, but computers are actually very dumb. Without human assistance, they'd just be boxes stuffed full of wires. As it is, computers have no imagination, creativity, or variety in their methods of work. They only know things that have been programmed into them. Anyway, back to the "reserved words" and their functions.

Here is a list of some of them, as well as what they do:

and: all conditions must be fulfilled

or: one condition must be fulfilled

is: equals

not: doesn't equal

print: writes letters and/or numbers

while: starts a loop that ends when the condition is rendered false


break: ends a while loop instantly


continue: ends the while loop run-through when reached

if: do this if condition is met


else: do this if the if condition is not met

elif: start another if if original if is false


I learned this information in my "Programming For Everybody" course from the University of Michigan School of Information with Associate Professor Charles Severance. 

Thank you for visiting School Stories (Where School Is ALWAYS In Session!)  today, and I hope to see you again tomorrow! Bye!

No comments: