lol sorry i was born with bad grammar and hand writing (although it's the bit after being born that matters)
On Sep 10, 2007, at 10:41 PM, Eric Brunson wrote: > > When you get done with this math problem you should consider a book > on punctuation. Not using it makes your sentences run together and > difficult to read. :-) Honestly, I just gave up after the first two > lines. > > max baseman wrote: >> haha :) yeah it's the new imp stuff i like parts of the idea but >> other parts i really dislike basically it TRIES to make math >> more interactive and world like i really enjoy how most of it is >> really programable stuff :) where compared to normal math books >> it's a bit harder to program just a problem instead of a story >> but imp needs help with it's grading and teaching the grading is >> terrible i can get a A as long as i can explain and know how my >> way of doing it wrong "works" but will fail if i just write the >> write answer without explanation i dont mind the explanations bit >> but that what i write matters more than if i can do the work is odd >> adn i just haven't learned anything new yet :) >> >> On Sep 10, 2007, at 7:16 PM, wormwood_3 wrote: >> >> >>> Don't have any ideas to Pythonize this problem for you, but I >>> must say that I hope this problem was listed in a chapter >>> entitled "Cruel and Unusual"! >>> >>> -Sam >>> ____________________________________ >>> ----- Original Message ---- >>> From: max baseman <[EMAIL PROTECTED]> >>> To: tutor@python.org >>> Sent: Monday, September 10, 2007 6:28:23 PM >>> Subject: [Tutor] making math problems mmmm fun >>> >>> hello all this is a homework in math i dont need to program it but i >>> would like to :) so like any other time pleas dont just give a >>> answer tutorials or a explanation. i dont like to use script >>> something i dont understand :) >>> >>> thanks >>> >>> basically the problem is to find a bunch of ways to put 1,2,3,4,5 >>> into different math problems to that equal 1-25, i haven't spent to >>> much time thinking about how to do this but i cant think of a way to >>> do it it without writing making the program rather long here is the >>> page from the book for the rules i will be working on this for the >>> next week or so thanks for any help :) >>> >>> >>> >>> >>> . you may use any of the four basic arithmetic operations- >>> addition, subtraction, multiplication, and division (according to >>> the >>> order of operations rules). for example, 2+1x3-4 is a 1-2-3-4 >>> expression for the number 1. >>> >>> . you may use exponents. for example, 2² - 4 - 1 is a 1234 >>> expression >>> for the number 3 >>> >>> . you may use radicals for EX: √4x2+1 is equal to 3 so 3+√4x2 >>> +1 is >>> a 1234 expression for 6 >>> >>> . you may use factorials for EX: 4! means 4x3x2x1 so 3+4!+1-2 is a >>> 1234 expression for the number 26 >>> >>> >>> . you may juxtapose two or more digits (that is put them next to >>> each other) to form a number such as 12. for example 43-12 is a 1234 >>> expression for 31 >>> >>> . you may use parentheses and brackets to change the meaning of a >>> expression for example according to the rules of order of >>> operations 1 >>> +4x3² is a 1234 expression for 37. you can add parentheses and >>> brackets to get [(1+4)x3]² which is a 1234 expression for 225 >>> >>> . must use 1,2,3,4 exactly once >>> >>> >>> >>> thanks for the help ill post if i find anything >>> _______________________________________________ >>> Tutor maillist - Tutor@python.org >>> http://mail.python.org/mailman/listinfo/tutor >>> >>> >>> >>> _______________________________________________ >>> Tutor maillist - Tutor@python.org >>> http://mail.python.org/mailman/listinfo/tutor >>> >> >> _______________________________________________ >> Tutor maillist - Tutor@python.org >> http://mail.python.org/mailman/listinfo/tutor >> > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor