examples exercises exercises ||the purpose of the exercises hereand throughout the bookis to encourage you to experiment with pythonand to get hands-on experience to help you absorb each material the examples and exercises cover both numeric and text processing to appeal to as wide an audience as possibleand they are kept fairly small so that the emphasis is on thinking and learning rather than just typing code every exercise has solution provided with the book' examples one nice variation of the bigdigits py program is where instead of printing *sthe relevant digit is printed instead for examplebigdigits_ans py two approaches can be taken the easiest is to simply change the * in the lists but this isn' very versatile and is not the approach you should take insteadchange the processing code so that rather than adding each digit' row string to the line in one goyou add character by characterand whenever is encountered you use the relevant digit this can be done by copying bigdigits py and changing about five lines it isn' hardbut it is slightly subtle solution is provided as bigdigits_ans py idle can be used as very powerful and flexible calculatorbut sometimes it is useful to have task-specific calculator create program that prompts the user to enter number in while loopgradually building up list of the numbers entered when the user has finished (by simply pressing enter)print out the numbers they enteredthe count of numbersthe sum of the numbersthe lowest and highest numbers enteredand the mean of the numbers (sum counthere is sample runaverage _ans py enter number or enter to finish enter number or enter to finish enter number or enter to finish enter number or enter to finish enter number or enter to finish enter number or enter to finish enter number or enter to finish