Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152
5nbpppkkyj’s Articles at TC101 Fall 2015
Introduction to Programming Python and C++

# Mastery10

Mastery10Basic output (print) in Python The main output function is called print(). This function basically lets you make your output look nicer and easier to read. So you can basically take your input and save it in our variable “n” so you can reuse it using your output function print(). n = input(“Please enter your […]

# Mastery09

Basic types and their use in Pythonintegers  Whole numbers from negative infinity to infinity, such as 1, 0, -5, etc. Integers or any number negative or positive without decimals can be assigned variables. You can name them anything. You can work with integers directly or assign them to variables. By work I mean you can […]

# WSQ11

In this WSQ I asked the user for a lower and an upper bound, then I It was challenging but I found that researching and understanding the concept completely was crucial. https://github.com/DianaJU/Write/blob/master/lychrel.py

# Mastery28 & Mastery29

User input (text based) in Python (basic) and Validated user input in Python One way to have data in your code is to get it from external sources such as databases, another computer, the Internet, etc. The options are endless(sort of). Depending on what your code is about you will find that user input is quite […]

# Mastery15 & Mastery16 & Mastery17

Conditionals are generally a way to check something. The classic “if” example is easy to understand. The syntax helps you understand it a bit. A normal if statement would look like this: if(condition): do something Let’s see an example with food because I’m hungry. My code will basically ask if the food is ready by […]

# WSQ12

This is a program that calculates the greatest common denominator of two positive integers using Euclid’s algorithm. https://github.com/DianaJU/Write/blob/master/gcd.py

# WSQ13

I wrote a program that calculates the square root of a number using the Babylonian method. A function baby receives any number and returns a float. https://github.com/DianaJU/Write/blob/master/baby.py

# Mastery06

Install Linux on their own computer. These are some reasons why people install Linux: -it’s free -It is customizable so you can tailor it to suit your preferences -It forces you to learn more -It is very difficult to get malware, mind you it remains a possibility. -It is not run by corporate interests so […]

# Mastery04

Submit work via Blog RSS and GitHub RSS stands for Really Simple Syndication or Rich Site Summary Subscribing to a website RSS removes the need for the user to manually check the website for new content. Instead, their browser constantly monitors the site and informs the user of any updates. The browser can also be […]

# Mastery08

The Zen of Python The Zen of Python is an Interesting easter egg in Python. Originally written by Tim Peters in 2004, it as an informational entry number 20 in Python Enhancement Proposals You can find it by entering the statement “import this” I shall comment on a few of them because I think they […]

#### What should you work on?

Week #12 and more partial exams for you.