<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Memoirs of a Falopian</title>
	<atom:link href="http://corib3ar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://corib3ar.wordpress.com</link>
	<description>Another beautiful day in this miserable world</description>
	<lastBuildDate>Wed, 22 Jun 2011 12:31:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='corib3ar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/e272817f81a7f697c74baf9d6d4af261?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Memoirs of a Falopian</title>
		<link>http://corib3ar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://corib3ar.wordpress.com/osd.xml" title="Memoirs of a Falopian" />
	<atom:link rel='hub' href='http://corib3ar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Python Programming</title>
		<link>http://corib3ar.wordpress.com/2011/03/20/python-programming/</link>
		<comments>http://corib3ar.wordpress.com/2011/03/20/python-programming/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 08:59:48 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[accepts a quiz score as an inputer and prints out the corresponding grade]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=291</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=291&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain;">

#A certain CS professor gives 5-point quizzes that are graded on the scale
#5-A, 4-B, 3-C, 2-D, 1-F, 0-F. Wirte a program that accepts a quiz score
#as an input and prints out the corresponding grade.
def main():
    grade = eval(input(&quot;What is your quiz score? (Type quit to stop) &quot;))
        if grade == 5:
            letter = 'A'
        if grade == 4:
            letter = 'B'
        if grade == 3:
            letter = 'C'
        if grade == 2:
            letter = 'D'
        if grade == 1 or grade == 0:
            letter = 'F'
        print(&quot; Your grade is a &quot;, letter)
main()
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=291&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/03/20/python-programming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Programming. Sum of a Series of Numbers</title>
		<link>http://corib3ar.wordpress.com/2011/03/20/python-programming-sum-of-a-series-of-numbers/</link>
		<comments>http://corib3ar.wordpress.com/2011/03/20/python-programming-sum-of-a-series-of-numbers/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 07:42:10 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[sum a series of numbers]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=289</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=289&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain;">

#Write a program to sum a series of numbers entered by the user.
#The program should first prompt the use for how many numbers are to be summer.
#It should then input each of the numbers and print a total sum.

def main():
    total = 0
    num = eval(input(&quot;How many numbers do you have? &quot;))
    for i in range (num):
        ber = eval(input(&quot;What is your first number? &quot;))
        total = ber + total

    print(&quot;The total value of your &quot;, num, &quot;numbers is &quot;, total)

main()
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=289&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/03/20/python-programming-sum-of-a-series-of-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>
	</item>
		<item>
		<title>Facebook status turned into a recursion program &#8212; Python Programming</title>
		<link>http://corib3ar.wordpress.com/2011/02/20/facebook-status-turned-into-a-recursion-program-python-programming/</link>
		<comments>http://corib3ar.wordpress.com/2011/02/20/facebook-status-turned-into-a-recursion-program-python-programming/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 22:02:34 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[facebook status]]></category>
		<category><![CDATA[facebookstatus python program]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[python functions]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[recurrence]]></category>
		<category><![CDATA[recurrence relation]]></category>
		<category><![CDATA[recursion]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=267</guid>
		<description><![CDATA[I was lamenting (which I obviously do a lot) about stuff and wrote a facebook status &#8211; written below. One of my friends mentioned that it was a recurrence relation that should be tested which I immediately took as a challenge and coded it. This was what I needed after struggling to understand Java syntax [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=267&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was lamenting (which I obviously do a lot) about stuff and wrote a facebook status &#8211; written below. One of my friends mentioned that it was a recurrence relation that should be tested which I immediately took as a challenge and coded it. This was what I needed after struggling to understand Java syntax which is something I find to be an extreme opposite of Python.</p>
<p>Status:<br />
Completely lost trying to program because I have to miss class because I have to go to work because I have to make money because I have to pay for college because I have to pay for class that I have to miss because I have to go to work because I have to make money because I have to pay for college because I have to pay for class that I have to miss because I have to go to work because I&#8230;.need a vacation&#8230;.</p>
<pre class="brush: plain;">

def func (var):
    if var == &quot;I have to miss class&quot;:
        return 1
    if var == &quot;I have to go to work&quot;:
        return 2
    if var == &quot;I have to make money&quot;:
        return 3
    if var == &quot;I have to pay for college&quot;:
        return 4
    if var == &quot;I have to pay for class&quot;:
        return 5

def status(variable):
    if variable == 5:
        return 1
    else:
        return (variable + 1)

def twice(var):
    if var == 1:
        return &quot;I have to miss class&quot;
    if var == 2:
        return &quot;I have to go to work&quot;
    if var == 3:
        return &quot;I have to make money&quot;
    if var == 4:
        return &quot;I have to pay for college&quot;
    if var == 5:
        return &quot;I have to pay for class&quot;

def main():
    variable = 1
    while 1&gt;0:
        variable = input(&quot;Completely lost in programming because &quot;)
        because = func(variable)
        recur = status(because)
        reverse = twice(recur)
        print(variable, &quot;because&quot;, reverse)

main()
</pre>
<p><a href="http://corib3ar.files.wordpress.com/2011/02/python.jpg"><img src="http://corib3ar.files.wordpress.com/2011/02/python.jpg?w=300&#038;h=168" alt="" title="python" width="300" height="168" class="alignnone size-medium wp-image-268" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=267&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/02/20/facebook-status-turned-into-a-recursion-program-python-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>

		<media:content url="http://corib3ar.files.wordpress.com/2011/02/python.jpg?w=300" medium="image">
			<media:title type="html">python</media:title>
		</media:content>
	</item>
		<item>
		<title>Programmer Speak Translations. What programmers say and what they really mean.</title>
		<link>http://corib3ar.wordpress.com/2011/02/01/programmer-speak-translations-what-programmers-say-and-what-they-really-mean/</link>
		<comments>http://corib3ar.wordpress.com/2011/02/01/programmer-speak-translations-what-programmers-say-and-what-they-really-mean/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 15:57:06 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[humor]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[funny programmer jokes]]></category>
		<category><![CDATA[funny programming jokes]]></category>
		<category><![CDATA[jokes]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[programmer humor]]></category>
		<category><![CDATA[programmer jokes]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[programming humor]]></category>
		<category><![CDATA[programming jokes]]></category>
		<category><![CDATA[what programmers say and what they really mean]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=263</guid>
		<description><![CDATA[This came to me around 3 in the morning while I was sitting on my 9th hour straight doing a programming for class lamenting about my canceled plans for the evening and lack of sleep for the week. Some of these are obviously not said by me (or anybody else I hope), but you would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=263&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This came to me around 3 in the morning while I was sitting on my 9th hour straight doing a programming for class lamenting about my canceled plans for the evening and lack of sleep for the week. Some of these are obviously not said by me (or anybody else I hope), but you would be surprised what pops into your head after 3 days of no sleep and enough energy drinks to sink a small country in Africa. </p>
<p>DISCLAIMER***This is mean to be for humorous purposes only so don&#8217;t get your panties in a bunch if you feel the need to get offended by things that may or may not pertain to you. if(you == f*cking idiot troll) { return GTFO and die; }</p>
<p><strong>To a Significant Other:</strong></p>
<p>&#8220;I made you dinner, I hope you like it&#8221;<br />
Translation: I hope you don&#8217;t mind it&#8217;s a little bit salty. I needed something to cover up the Nyquil I mixed in there so you&#8217;ll go to sleep and I won&#8217;t be obligated to give you attention tonight.&#8221;</p>
<p>&#8220;Ok I&#8217;ll take a break and we can spend some time together&#8221;<br />
Translation: You may think you have my full attention, but while you&#8217;re catterwalling about things not related to my program, I&#8217;m thinking of ways to make my program better and will most likely sneak a few lines of code in while you&#8217;re going to the bathroom.</p>
<p>&#8220;I love you&#8221;<br />
Translation: Almost as much as I love my program. </p>
<p>&#8220;Honey, can you pick up the kids today?&#8221;<br />
Translation: The only reason I remember that I have children is because I program I have it in bold letters on my google calender and I assume that since they aren&#8217;t here they need picking up. We have kids right?</p>
<p>&#8220;Nothing is wrong, my program just won&#8217;t run.&#8221;<br />
Translation: You have absolutely no idea that my whole world is crashing down around my ankles and you will never understand. </p>
<p><strong>To Friends:</strong></p>
<p>&#8220;Yeah, I&#8217;ll be there as soon as I&#8217;m done writing this program.&#8221;<br />
Translation: Call me a ditcher because not only am I not getting there any time this century, but I&#8217;ll probably be so worked up over perfecting the unperfectable that I&#8217;ll put our friendship on the back burner.</p>
<p>&#8220;You&#8217;re my best friend&#8221;<br />
Translation: I like you so much that I use your name as variables.</p>
<p>&#8220;I had fun last night, we should hang out again soon at my place.&#8221;<br />
Translation: Last night was OK, but just wait until you come over. I have 21 computers hooked to 49 monitors and OMG we will have a f*cking BLAST compiling and resolving syntax errors. </p>
<p>&#8220;I&#8217;m not doing much tonight, just going to stay in and relax.&#8221;<br />
Translation: I&#8217;m going to sit on my ass and play WOW (or other obsessive game) and masturbate about 5 times. </p>
<p><strong>To Random People:</strong></p>
<p>&#8220;I&#8217;m a programmer&#8221;<br />
Translation: I&#8217;m just letting you know why I&#8217;m going to treat you like the obvious lower intelligence in this conversation. </p>
<p>&#8220;Excuse me&#8221;<br />
Translation: I have more important things to do in my life than to wait for a lower life form to get out of my way. </p>
<p><strong>To Other Programmers:</strong></p>
<p>&#8220;I really like your program, Good Job!&#8221;<br />
Translation: I&#8217;m just sucking up so you&#8217;ll lower your guard for a little bit so that I can go and make a bigger and better program than you just made and rub it in your face. </p>
<p>&#8220;Do you know how to do this?&#8221;<br />
Translation: I actually know how to do this, but I&#8217;m seeing if you know how to do this so I can keep track on how far ahead of you I am.</p>
<p>&#8220;We should hang out sometime&#8221;<br />
Translation: I haven&#8217;t had a chance to flex my mental muscles in front of you and doing it in public will make your defeat even sweeter. </p>
<p>&#8220;Sure I can do that for you&#8221;<br />
Translation: I&#8217;m going to wait until you&#8217;ve asked me for this at least 20 times then put together the worst possible thing I can so you&#8217;ll look bad and give you all the credit for it. </p>
<p><strong>To Yourself:</strong></p>
<p>&#8220;I just need to run this code to make sure it works and then I&#8217;m done.&#8221;<br />
Translation: Theres a 241.7% chance that 1/3 of my syntax was fat fingered and for each error it&#8217;ll take me about 20 read-throughs of the program before I finally catch what&#8217;s wrong so don&#8217;t plan on bothering me for the next 2 days unless you come with redbull and pizza.&#8221;</p>
<p>&#8220;I&#8217;m going to bed&#8221;<br />
Translation: There&#8217;s no translation for this because &#8220;bed&#8221; doesn&#8217;t compute in programming language. </p>
<p>&#8220;I&#8217;m hungry&#8221;<br />
Translation: My adderol wore off and I&#8217;m starting to feel the pains for not eating for 3 days. Must order pizza.</p>
<p>&#8220;I&#8217;m tired&#8221;<br />
Translation: Let me chase this adderol with a 5 hour energy shot and compliment it with a redbull. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=263&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/02/01/programmer-speak-translations-what-programmers-say-and-what-they-really-mean/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>
	</item>
		<item>
		<title>My First Attempt at Java (Python &gt; Java)</title>
		<link>http://corib3ar.wordpress.com/2011/02/01/my-first-attempt-at-java-python-java/</link>
		<comments>http://corib3ar.wordpress.com/2011/02/01/my-first-attempt-at-java-python-java/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 06:55:39 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[calculate gpa]]></category>
		<category><![CDATA[first attempt at java]]></category>
		<category><![CDATA[java program]]></category>
		<category><![CDATA[java program to calculate gpa]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=261</guid>
		<description><![CDATA[This was a Comp Sci homework assignment to have a user input 5 grades from their classes and it would calculate the GPA. There were to be no loops, so alot of the code is redundant I know. Took me all of 15 hours to do. Python &#62; Java. *Netbeans IDE<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=261&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was a Comp Sci homework assignment to have a user input 5 grades from their classes and it would calculate the GPA. There were to be no loops, so alot of the code is redundant I know. Took me all of 15 hours to do. Python &gt; Java.</p>
<p>*Netbeans IDE</p>
<pre class="brush: plain;">

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

/**
 *
 * @author Cori
 */

public class Main {

    /**
     * @param args the command line arguments
     */
    public static double gpapts(String grade) {
        double pts = 0.00;
        if (&quot;A&quot;.equals(grade)) {
            pts = (4.00);
        } else if (&quot;A-&quot;.equals(grade)) {
            pts = 3.67;
        } else if (&quot;B+&quot;.equals(grade)) {
            pts = 3.33;
        } else if (&quot;B&quot;.equals(grade)) {
            pts = 3.00;
        } else if (&quot;B-&quot;.equals(grade)) {
            pts = 2.67;
        } else if (&quot;C+&quot;.equals(grade)) {
            pts = 2.33;
        } else if (&quot;C&quot;.equals(grade)) {
            pts = 2.00;
        } else if (&quot;C-&quot;.equals(grade)) {
            pts = 1.67;
        } else if (&quot;D+&quot;.equals(grade)) {
            pts = 1.33;
        } else if (&quot;D&quot;.equals(grade)) {
            pts = 1.00;
        } else if (&quot;F&quot;.equals(grade)) {
            pts = 0.0;
        } else {
                System.out.println(&quot;Error&quot;); System.out.print(&quot;-1.0&quot;); System.exit(0);
        }
        return pts;

    }
    public static void main(String[] args) {

        java.util.Scanner input = new java.util.Scanner(System.in);

        System.out.print(&quot;How many credits was your first class &quot;);
        int class1 = input.nextInt(); input.nextLine();
        System.out.print(&quot;What grade did you get? &quot;);
        String ans1 = input.nextLine();
        String grade1 = ans1.toUpperCase();
        double pts1 = gpapts(grade1);
        double cg1 = class1 * pts1;
        System.out.print(&quot;How many credits was your second class? &quot;);
        int class2 = input.nextInt(); input.nextLine();
        System.out.print(&quot;What grade did you get? &quot;);
        String ans2 = input.nextLine();
        String grade2 = ans2.toUpperCase();
        double pts2 = gpapts(grade2);
        double cg2 = class2 * pts2;
        System.out.print(&quot;How many credits was your third class? &quot;);
        int class3 = input.nextInt(); input.nextLine();
        System.out.print(&quot;What grade did you get? &quot;);
        String ans3 = input.nextLine();
        String grade3 = ans3.toUpperCase();
        double pts3 = gpapts(grade3);
        double cg3 = class3 * pts3;
        System.out.print(&quot;How many credits was your fourth class? &quot;);
        int class4 = input.nextInt(); input.nextLine();
        System.out.print(&quot;What grade did you get? &quot;);
        String ans4 = input.nextLine();
        String grade4 = ans4.toUpperCase();
        double pts4 = gpapts(grade4);
        double cg4 = class4 * pts4;
        System.out.print(&quot;How many credits was your fifth class? &quot;);
        int class5 = input.nextInt(); input.nextLine();
        System.out.print(&quot;What grade did you get? &quot;);
        String ans5 = input.nextLine();
        String grade5 = ans5.toUpperCase();
        double pts5 = gpapts(grade5);
        double cg5 = class5 * pts5;
        int clavg = class1+class2+class3+class4+class5;
        double gravg = cg1+cg2+cg3+cg4+cg5;
        double avg = gravg/clavg;
        if (avg == 4.00) {
            System.out.printf(&quot;Your GPA is %.2f \n&quot;, avg);
            System.out.print(&quot;You have made the President's List!&quot;);
        }
        else if (avg &lt; 4.00) {
            if (avg &gt;= 3.50) {
                System.out.printf(&quot;Your GPA is %.2f \n&quot;, avg);
                System.out.print(&quot;You have made the Dean's List!&quot;);
            }
                if (avg &gt;= 2.00) {
                    if (avg &lt; 3.50) {
                    System.out.printf(&quot;Your GPA is %.2f&quot;, avg);
                }
            }

            else if (avg &lt; 2.00) {
                System.out.printf(&quot;Your GPA is %.2f \n&quot;, avg);
                System.out.print(&quot;You are on academic probation :'(&quot;);

        }
    }

}
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=261&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/02/01/my-first-attempt-at-java-python-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>
	</item>
		<item>
		<title>Sorry guys :(</title>
		<link>http://corib3ar.wordpress.com/2011/01/31/sorry-guys/</link>
		<comments>http://corib3ar.wordpress.com/2011/01/31/sorry-guys/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 13:52:04 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=255</guid>
		<description><![CDATA[Sorry for the lack of posts. With class starting, I haven&#8217;t had much time other than work and school. My new class focuses on Java, so my next few posts will most likely be on those. I hope to get back to Python soon, Java sucks<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=255&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sorry for the lack of posts. With class starting, I haven&#8217;t had much time other than work and school. My new class focuses on Java, so my next few posts will most likely be on those. I hope to get back to Python soon, Java sucks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=255&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/01/31/sorry-guys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Programming: An Introduction to Computer Science by Zelle Chap 3 Ex 12</title>
		<link>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-12/</link>
		<comments>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-12/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 07:35:56 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[natural numbers]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[sum of the cubes]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=252</guid>
		<description><![CDATA[12. Write a program to find the sum of the cubes of the first n natural numbers where the value of n is provided by the user<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=252&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>12. Write a program to find the sum of the cubes of the first n natural numbers where the value of n is provided by the user</p>
<pre class="brush: plain;">

def main():
    print(&quot;This program finds the sum of the cubes of the first &quot;)
    print(&quot;'n' natural numbers starting with 0&quot;)
    n = eval(input(&quot;Enter any natural number &quot;))
    add = 0
    for i in range (n):
        add = add + i**3
    print(add)
main()
</pre>
<p><a href="http://corib3ar.files.wordpress.com/2011/01/ex12.jpg"><img src="http://corib3ar.files.wordpress.com/2011/01/ex12.jpg?w=300&#038;h=50" alt="" title="ex12" width="300" height="50" class="alignnone size-medium wp-image-253" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=252&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>

		<media:content url="http://corib3ar.files.wordpress.com/2011/01/ex12.jpg?w=300" medium="image">
			<media:title type="html">ex12</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Programming: An Introduction to Computer Science by Zelle Chap 3 Ex 11</title>
		<link>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-11/</link>
		<comments>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-11/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 06:24:09 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[natural numbers]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[python program]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=249</guid>
		<description><![CDATA[11. Write a program to find the sum of the first n natural numbers where the value of n is provided by the user.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=249&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>11. Write a program to find the sum of the first n natural numbers where the value of n is provided by the user.</p>
<pre class="brush: plain;">
def main():
    print(&quot;This program finds the sum of the first 'n' natural numbers&quot;)
    print(&quot;starting with 0&quot;)
    n = eval(input(&quot;Enter any natural number &quot;))
    add = 0
    for i in range (n):
        add = add + i
    print(add)
main()
</pre>
<p><a href="http://corib3ar.files.wordpress.com/2011/01/ex11.jpg"><img src="http://corib3ar.files.wordpress.com/2011/01/ex11.jpg?w=300&#038;h=45" alt="" title="ex11" width="300" height="45" class="alignnone size-medium wp-image-250" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=249&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-11/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>

		<media:content url="http://corib3ar.files.wordpress.com/2011/01/ex11.jpg?w=300" medium="image">
			<media:title type="html">ex11</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Programming: An Introduction to Computer Science by Zelle Chap 3 Ex 10</title>
		<link>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-10/</link>
		<comments>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-10/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 05:19:11 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[height of ladder]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[python program]]></category>
		<category><![CDATA[Python Programming]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=246</guid>
		<description><![CDATA[10. Write a program to determine the length of a ladder required to reach a given height when leaned against a house. Prompt for an angle in degrees and convert it to radians.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=246&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>10. Write a program to determine the length of a ladder required to reach a given height when leaned against a house. Prompt for an angle in degrees and convert it to radians.</p>
<pre class="brush: plain;">

from math import *
def main():
    height = eval(input(&quot;Please enter the height of the ladder &quot;))
    deg = eval(input(&quot;Please enter the angle of the ladder in degrees &quot;))
    rad = (pi/180) * deg
    leng = height/(sin(rad))
    print(&quot;The length of the ladder must be &quot;, leng)
main()
</pre>
<p><a href="http://corib3ar.files.wordpress.com/2011/01/ex10.jpg"><img src="http://corib3ar.files.wordpress.com/2011/01/ex10.jpg?w=300&#038;h=39" alt="" title="ex10" width="300" height="39" class="alignnone size-medium wp-image-247" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=246&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/01/06/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>

		<media:content url="http://corib3ar.files.wordpress.com/2011/01/ex10.jpg?w=300" medium="image">
			<media:title type="html">ex10</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Programming: An Introduction to Computer Science by Zelle Chap 3 Ex 9</title>
		<link>http://corib3ar.wordpress.com/2011/01/04/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-9/</link>
		<comments>http://corib3ar.wordpress.com/2011/01/04/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-9/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 05:48:35 +0000</pubDate>
		<dc:creator>corib3ar</dc:creator>
				<category><![CDATA[John Zelle]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python Programming: An Introduction to Computer Science]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[area of a triangle]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[python programming: an introduction to computer science]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[zelle]]></category>

		<guid isPermaLink="false">http://corib3ar.wordpress.com/?p=243</guid>
		<description><![CDATA[9. Write a program to calculate the area of a triangle given the length of its three sides a,b, and c. We will have to change the formula given in the book a little bit due to Python not recognizing a number outside of a parenthesis as multiplying. We will need to insert the &#8220;*&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=243&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>9. Write a program to calculate the area of a triangle given the length of its three sides a,b, and c.</p>
<p>We will have to change the formula given in the book a little bit due to Python not recognizing a number outside of a parenthesis as multiplying. We will need to insert the &#8220;*&#8221; to get the program to work correctly.</p>
<pre class="brush: plain;">
from math import *
def main():
    a,b,c = eval(input(&quot;Enter the length of each side of a triangle seperated by commas &quot;))
    s = (a+b+c)/2
    a = sqrt(s*(s-a)*(s-b)*(s-c))
    print(&quot;The area of the triangle is&quot;, a)
main()
</pre>
<p><a href="http://corib3ar.files.wordpress.com/2011/01/ex9.jpg"><img src="http://corib3ar.files.wordpress.com/2011/01/ex9.jpg?w=300&#038;h=35" alt="" title="ex9" width="300" height="35" class="alignnone size-medium wp-image-244" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corib3ar.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corib3ar.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corib3ar.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corib3ar.wordpress.com&amp;blog=10448047&amp;post=243&amp;subd=corib3ar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corib3ar.wordpress.com/2011/01/04/python-programming-an-introduction-to-computer-science-by-zelle-chap-3-ex-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fae034249dc416addb89a6ebdf6efb37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">corib3ar</media:title>
		</media:content>

		<media:content url="http://corib3ar.files.wordpress.com/2011/01/ex9.jpg?w=300" medium="image">
			<media:title type="html">ex9</media:title>
		</media:content>
	</item>
	</channel>
</rss>
