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
‘Easy Peasy Lemon Squeezy’ Articles at TC101 Fall 2015
Introduction to Programming Python and C++

Tag Archives: Easy Peasy Lemon Squeezy

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

WSQ10

This was kind of hard to do the right way. I tried to ask the user for numbers separately and then do calculations with all of these as variables before realising it was kind of wrong so I read the List chapter and understood how to use loops for it. In this way, my code […]

WSQ09

So this is simple factorial calculator, it was kind of easy to do. This is factorialcalc.py in action!

WSQ08

In this WSQ I have fun with numbers, again! I’m sure my code can be optimized but I tried to write it as clean i.e. readable, as possible. So yeah, all I did was print some options for the user and ask for two numbers to work with. Finally, I created some functions so they are […]

Mastery03

WSQ07

This was challenging but surprisingly fun. I had some problems that were solved understanding what I was doing so the book helped me a lot.
This is my code:

This is Sumofnumbers.py in action:

WSQ06

This WSQ06 was quite easy, I just had to find a way in which I could get a random number so I used the function random.randint(a,b). What my program does It sets a random number between 1 and 100 and then asks the user to guess that number. I wrote it in a way that the user […]

WSQ05

This was quite easy since it was similar to the Fun with Numbers WSQ. In this WSQ I ask the user to choose a temperature measurement unit to convert their Fahrenheit degrees to. Once they chose it I inserted their integer input into its respective formula. I printed the conversion result and used if and elif to state […]

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).