So Ken gave us another opportunity to make our codes from the quiz right. My answers are exactly the same as Ken gave us in his class. Still, is really important to understand why im doing my code this way and to understand how functions works.
This was way more easy than I thought.
I recommend you to read the chapter of fruitful functions from our textbook (think Python) for this assignment and to see the operator that correspond to each function go to this link
https://docs.python.org/2/l…
Wow,this was hard Most than anything WHILE TRUE is great for loops if you want a specific type of value but you should remember to break because if you dont you will end up in endless loop. but it was really hard to add a conditional where if the low number isnt low, the program […]
For this you should remember random and not to name your file random because then the program gets confused and it will import itself so it wont work. With the function WHILE im able to make a loop which wont let the user to finish until he/she guess the number. and with the conditionals im […]
Well, I already have a blog (other you wouldnt be reading this. My twitter account (which i dont use) is https://twitter.com/ilka_eng and as you can see i have a Github account. to share on GitHub make a new respistory Then click in ReadMe file so you can share your code then copy paste your code and […]
The IF statement is used for conditional execution. What you do in IF is that you write a condition (a specific case) so when the program encounter that conditional it will do the command or function you gave to him (in my example if Z is bigger than X, in that case the program will […]
This is so easy that I am ashamed that i just learned this 5 minutes ago. So, comments in python are a way for the programmmer to communicate with any other observer inside the code but without affecting the code To do this you must write #and then, whatever you want to say. As you […]
To create your python file you have to open your text hackable editor (mine is Python) lets write a simple line of code to see if it works, i will use the function print to start print evaluates each expression in turn and writes the resulting object to standard output (see below). If an object […]
Your blog exists.yes
Your blog is registered with Ken.yes
You can login to this site (remember to register first).yes
Post to your own blog with subject and tag of #QUIZ04 to get the points for this quiz.yes
I think is a great way to teach student to be more responsible and it will help them to search on they own. Besides it can make the class more proactive but we would need a specific objective to achieve for each class or week to keep progressing and le…