Skip to content

Instantly share code, notes, and snippets.

@akreer135
Created September 19, 2013 17:09
Show Gist options
  • Save akreer135/6626582 to your computer and use it in GitHub Desktop.
Save akreer135/6626582 to your computer and use it in GitHub Desktop.
#ideas+, choice = raw_input(), if choice == "what ever input"
print """
******************************
* Austin's Python experience *
******************************
Hello please type the name of the lesson you want
ex. one, two, three."""
data = (raw_input())
if data == "one" :
print "lesson 1 : Lesson one is almost all about printing. print print print. So pretty much this lesson showed how to use the most basic python tool. also this is probably the easiest lesson ever. Lastly, I probably did not do exactly what the study drill said, but i completed it none the less, so yay."
elif data == "two" :
print "lesson 2 : This lesson teaches how to use the pound symbol (Hashtag) yeaaaaa! So basically The pound symbol is for commemts that cannot be seen by the average user like you. but if you happened to type mate lessonsum.py you would see all the yummy comments I made"
#panckes are tasty #panckes are tasty #panckes are tasty #panckes are tasty #panckes are tasty #panckes are tasty #panckes are tasty #panckes are tasty
elif data == "three" :
print "lesson 3 : This exercise i learned about math functions even though its not that hard, it was a good refresher. Also, i did not know you could use python as a calculator which is pretty cool, even though it is much more complicated then an actual calculator its still just as fun!"
elif data == "four" :
print "lesson 4 : I thought lesson 4 was the best so far because it is interesting to see how easy python really is. While bash required a few more symbols to do what python already can. Also I found it neat becuase how it can compute word problems, so if I was still in 4th grade, this would be a pretty handy tool!"
elif data == "five":
print "lesson 5 : This was an interesting exercise because of the new '%' funtion. Maybe not new to you, but really cool to me. Even though I can't explain it very well, I felt that I could understand it. It is also really weird because there is an easier way to do this. becuase where it said %'f you could have just typed what you wanted instead of typing it at the end."
elif data == "six" :
print "lesson 6 : I thought this lesson was funny because I learned how to tell a joke, and just use x and y. The reason I like using x and y is becuse instead of typing hahahahahaha = hahahahahahaha you can just tpye x = hahahahahahaha. So it is much easier to use longer sentences. Like joke_evaluation = blah blah. He's smart enough, he could have just put z = blah blah, I just hope he does it in later lessons."
elif data == "seven" :
print "lesson 7 : It was interesting to learn what the comma does, but right now I dont really have a use for it besides fixing words that I somehow type straight up and down. Also i found it cool that you can replicate words, like if i typed 'cool * 10' i can do this, cool cool cool cool cool cool cool cool cool cool."
elif data == "eight" :
print "lesson 8 : The exercise is called printing, printing, but I noticed that it has the word formatter. I have no idea what it does, besides just being a varible. Also I am proud of myself so far becuase I haven't made any mistakes yet from tpying the program. So yey."
elif data == "nine" :
print "lesson 9 : I liked this lesson alot becuse it taught me how to break lines. Becuase in bash I think, it was something like /b, so I was wondering what it was and I finally found out. Also the triple quotation marks seems like it would be helpful because then you don't need the /n. But the /n (I know the slash is backwards) would be helpful in variables."
elif data == "ten" :
print "lesson 10 : I think is also an important lesson because of all the 'escapes' it teaches you how to type certain symbols using backslashes. Because knowing that /t is tab, could be very helpful."
elif data == "eleven" :
print "lesson 11 : I am not completely sure, but I think this is the first time that the raw data function has been used. Becuase I think thats my favorite function because you can pretty much talk to yourself if you use it like I use it. hehe."
elif data == "twelve" :
print "lesson 12 : I am sure that this is a very helpful lesson becusae of what it teaches. Becuase pretty much it teaches your how to get raw input into variables easily. Im glad it it makes it much easier for me in the long run. Because even though I don't have a reason to use it now, I can tell that it will definetlly be important."
elif data == "thirteen" :
print "lesson 13 : I do not understand this script completely becuase it did not work. I tried typing it over again, but it still it was not working. Even though you said no copying and pasting, I had to try something. Still, I had no luck, but I may try it again later to see if something worked its self out."
elif data == "fourteen" :
print "lesson 14 : I finally figured out why my old script was not working, it was becuase I did not have an argument after saying python ex14.py. I had to put austin after it so it could fill the 'argv'. So I guess I could say that I did learn something new today. "
elif data == "fifteen" :
print "lesson 15 : I thought this exercise was kind of interesting, because how you can easily open files in terminal. I hope he teaches us later how to open a whole directory and its contents. I mean, even though you can just use a command to do it, it would be cool to be able to make a script that does that."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment