I have been struggling to create 2 very small logic applications in Python. I am very new to programming and could definitely use some of your guidance, as this would possibly be very easy to someone with experience.
The first is a small program which is to calculate statistical equations based on numbers input into the program, and output results into a small table. Here is the PDF of the task:
http://xboxflashing.com/cw2010.pdf
I have managed to do all but the very last part of task 1 - everything works fine except I am not sure how to go about setting out the ranges. I had an if / elif setup, adding to a count (to count how many are in the range) - then having the count displayed under table headings, however the result displayed always came out incorrectly. Hence, I am guessing I am going about this the wrong way or overcomplicating things possibly.
Any advice on how to go about this would be greatly appreciated.
Secondly, the pendulum task is boggling my mind. I have very limited experience with Python, and am having trouble getting my head around how to set out the code for what is being asked.
If you could guide me on how to set things out, that would be amazing and a massive help to me. I am not looking for the actual answers - I can find the syntax for it myself in my textbooks, I just really need help on how to begin to set out the solution . Any help at all on task two would be massively beneficial to me.
Thank you for your time.
If you require any further information - please let me know.