woooee 814 Nearly a Posting Maven

Use subprocess.run() https://python.land/operating-system/python-subprocess It receives a list, so it is easy to include parameters. Be sure to read about the shell=True option and decide whether it is necessary or not.

woooee 814 Nearly a Posting Maven

If you print "digit" you will see that it goes from right to left so for input that is an even number in length, the code is bass ackwards. Also a=a/10 only executes under the else. Use a for loop instead of a while loop with your logic or something like the following.

orig_number = "234756"

## sum of odd position
total_sum = 0
for ctr in range(0, len(orig_number), 2):
    print orig_number[ctr],
    total_sum += int(orig_number[ctr])
print "\n2+4+6 =", total_sum

## multiply even positions
total_multiply = 1
for ctr in range(1, len(orig_number), 2):
    total_multiply *= int(orig_number[ctr])
print "3*5*7", total_multiply
woooee 814 Nearly a Posting Maven

I don't know what an ibookG4 is but if it is an Apple product, previous versions should be available in their repos and it would be as simple as telling the software manager to install a particular version. Also, the software manager may have a "revert back to the previous version" option, but search on Apple's repos and/or the appropriate sub-forum at Apple's forums, not Adobe's. If you just want flash in a browser, check for flash plugins for whatever browser you use.

yvonne.lundeandreassen.9 commented: What is a 'software manager'? and - have you ever tried apple's forum ? you'll need 2 hours just to get into it ! +0
woooee 814 Nearly a Posting Maven

This homework question comes up every year so there are other posts that you can look at. We do not do your homework for you however. Also, posting on multiple forums reduces your chances for an answer because no one wants to waste time on a question that has possibly already been answered on another forum.

ganapathy24 commented: Its not a homework u sherlock... I jus forgot my rar password, but i know the words used in it, in order to generate all the possible combination i raised it.... +0
woooee 814 Nearly a Posting Maven

pygame has collision detection. Google is your friend. Even it you can't find an answer for your specific object, you can see how it is done with other objects.

woooee 814 Nearly a Posting Maven

n yea... m new to python !!

This is not high school nor does anyone want to become a personal assistant for the lazy http://tinyurl.com/6eavfzu

woooee 814 Nearly a Posting Maven

Is anyone else getting a little tired of the "I Googled it and couldn't find anything" lie. "python sum list" brings up "total = sum(list_name)" as the second hit. Searching for "python adding list" gives both the sum() and a for() loop as examples on the fourth hit. But is it a complete waste of time to call them on it? Perhaps we should start posting the Google link. I am more than willing to help anyone with a real programming problem, but this wasting everyone's time can lead to fewer programmers who help because of all of the cruft that one has to wade through.