Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Finki

This are some exercises for my exam. Need some help ASAP. Program for 9 or 10 points would be the best, because I only need that for exam. [B]6 points:[/B] Write a program that reads a file .picasa.ini and copies pictures in new files, whose names are the same as …

Member Avatar for woooee
-2
194
Member Avatar for Finki

So im putting together a program that decompositions numbers on prefactors. Example: 252=2^2 3^2 7^1 and 1944=2^3 3^5 Put this into tuples: (wont use split, just for example) >>> split(252) [(2, 2), (3, 2), (7, 1)] >>> split(1944) [(2, 3), (3, 5)] This is the code that determines whether a …

Member Avatar for Finki
0
202
Member Avatar for Finki

I just want to know if this is done right. And some suggestions on the commented line. [CODE]msg = ... import re msg = re.sub("[^\w ]", " ", msg) names = [] for x in msg.split(): if (x[0].isupper()) and not (x[1].isupper()):# I think this should be done in a different …

Member Avatar for TrustyTony
0
2K
Member Avatar for Finki

Hi. I'm new in python and I need some help. I need to make a program that does this: You put in a sentence, then the program puts it in a list. Words can be with one or more spaces; if there are more than one, the program should recognize …

Member Avatar for Finki
0
94