lee1210
Apr 24, 03:41 PM
I don't really know why research is needed for this, unless you don't know Python at all. If that is the case, you don't need to research how to do this in Python, you just need to research Python. Finding code online that does what you need is easy. However, i doubt somewhat seriously that you have a real-world problem requiring this, and you're simply desperate for a solution. Instead this sounds like an academic assignment/exercise/what-have-you.
If that is the case, then you want to learn something, not find the answer. That means you might need to learn:
What a palindrome is (you probably already know this)
How to write a loop in Python
How to manipulate numbers using Python (including exponentiation and division, perhaps taking logarithms)
OR
How to manipulate strings using Python (including getting a substring, string equality, or character equality and getting characters)
As an academic exercise i would try to write both approaches... treating the number as a number and approaching this with math and treating the number with a string and dealing with it that way.
I'm confident that you can google your way to what a palindrome is if you don't know, and the Python documentation is actually quite good:
http://www.python.org/doc/
Good luck. As you progress feel free to post code here telling us what you've tried, what the current errors are (or erroneous results), what you expect to happen, etc. We'll be glad to help you work it out, but it's better for everyone if we don't give you the answer.
-Lee
If that is the case, then you want to learn something, not find the answer. That means you might need to learn:
What a palindrome is (you probably already know this)
How to write a loop in Python
How to manipulate numbers using Python (including exponentiation and division, perhaps taking logarithms)
OR
How to manipulate strings using Python (including getting a substring, string equality, or character equality and getting characters)
As an academic exercise i would try to write both approaches... treating the number as a number and approaching this with math and treating the number with a string and dealing with it that way.
I'm confident that you can google your way to what a palindrome is if you don't know, and the Python documentation is actually quite good:
http://www.python.org/doc/
Good luck. As you progress feel free to post code here telling us what you've tried, what the current errors are (or erroneous results), what you expect to happen, etc. We'll be glad to help you work it out, but it's better for everyone if we don't give you the answer.
-Lee
Wicked1
Feb 23, 07:41 AM
You can install Snow Leopard client from a USB stick. You can google for instructions on how to prepare a USB stick.
A clean install of Snow Leopard would be ideal unless you're moving from an old Mac and would rather not setup and configure everything again.
Or Do what I am thinking of doing after the next Mini refresh, just buy an external USB CD/DVD for $30
A clean install of Snow Leopard would be ideal unless you're moving from an old Mac and would rather not setup and configure everything again.
Or Do what I am thinking of doing after the next Mini refresh, just buy an external USB CD/DVD for $30
guyute
Nov 13, 12:47 AM
I ran across this program the other day and have been using it. The speed of this version of firefox is much faster than safari or ff1.0. Here is a link to the site.
http://www.beatnikpad.com/archives/2004/11/06/firefoxG5
http://www.beatnikpad.com/archives/2004/11/06/firefoxG5
adcx64
Apr 7, 04:18 PM
Hi, I am about to buy am iBook g3 on eBay. The seller sates that the unit powers on but spits the cd tray out and has the dreaded blinking question mark. Can I just use my Panther install disks to reformat it? Or could this be more serious. Also, will my iBook clamshell ac adapter work on this? Thanks!
more...
Sdashiki
Sep 23, 10:28 AM
Hurricanes are a "random" occurence.
Prediction is impossible.
Next year can be less or far worse than this year. There is no telling. if it IS as bad next year as this year, we as a country are f*cked but thats what we get for living on planet earth I guess.
Get a helmet, hurricances are nothing like earthquakes. You know when a hurricane will hit welll in advance, making them not "disasters" in the same sense an earthquake is a disaster.
I live in florida.
And while I will take anychance to bad motuh Dubbya, Global Warming from a scientific (NOT environmentalist) point of view cant be proven.
All the data on global warming is only a few decades old. And over GEOLOGICAL TIME, which is how weather and the way the Earth functions is measured, this is less than a fleeting moment.
So with that in mind, just cuz the last few years have been "hotter" doesnt mean that it will continue that way. As it stands you cant predict global warming anymore than you can predict the coming of the next ice age. It takes too long for permanent changes in the earths environment. How long did it take to go from methane and CO2 to a 28% oxygen atmosphere, ~BILLIONS of years. So 20-50yrs of "global warming" data isnt enough and never will be.
But it cant be ignored that greenhouse gases and all that toxic crap IS BAD FOR THE PLANET.
Prediction is impossible.
Next year can be less or far worse than this year. There is no telling. if it IS as bad next year as this year, we as a country are f*cked but thats what we get for living on planet earth I guess.
Get a helmet, hurricances are nothing like earthquakes. You know when a hurricane will hit welll in advance, making them not "disasters" in the same sense an earthquake is a disaster.
I live in florida.
And while I will take anychance to bad motuh Dubbya, Global Warming from a scientific (NOT environmentalist) point of view cant be proven.
All the data on global warming is only a few decades old. And over GEOLOGICAL TIME, which is how weather and the way the Earth functions is measured, this is less than a fleeting moment.
So with that in mind, just cuz the last few years have been "hotter" doesnt mean that it will continue that way. As it stands you cant predict global warming anymore than you can predict the coming of the next ice age. It takes too long for permanent changes in the earths environment. How long did it take to go from methane and CO2 to a 28% oxygen atmosphere, ~BILLIONS of years. So 20-50yrs of "global warming" data isnt enough and never will be.
But it cant be ignored that greenhouse gases and all that toxic crap IS BAD FOR THE PLANET.
happle
Jan 4, 09:25 AM
Yes a keyboard will be useful but the most important thing in a studio is sound. If you can't hear what you're doing it's so frustrating. If you're just starting out you may think that having ok sound will do the trick but it won't be long before you're not sure if you're hearing your mix or your speakers when you're mixing on bad speakers. I'd much rather make house music with good sound than a keyboard.
For good speakers, you're looking for near field monitors, they differ from standard speakers in that they try to reproduce accurately the sound you feed them, standard speakers try to "sound good". There's a pretty big difference between the two, sounding good usually means a compressed sound with not a lot of middle frequencies. For house, you'll probably want a sub.
Either way, a keyboard is nice to have, if you don't have any previous experience with keyboards, you might as well just get the 25 key (get it velocity sensitive especially useful for drums). M-audio have a pretty good value.
yeah but this is why i suggested he gets a set of klipsch promedia 2.1 speakers, which are thx certified and fairly accurate (good for checking mixes).
but for his main mixing he can use sennhesier hd280 pro headphones.
plus bottom end in house is a major concern, and he is not going to be able to afford a good enough set of monitors thats going to hit the lows he wants. cheap monitors do not get very loud nor have much bottom end to them which is why i got the klipsch and sennhesier headphones until i can afford a good set of monitors.
edit: plus hes obviously not insanely serious about production just yet which just further justifies my suggestion.
For good speakers, you're looking for near field monitors, they differ from standard speakers in that they try to reproduce accurately the sound you feed them, standard speakers try to "sound good". There's a pretty big difference between the two, sounding good usually means a compressed sound with not a lot of middle frequencies. For house, you'll probably want a sub.
Either way, a keyboard is nice to have, if you don't have any previous experience with keyboards, you might as well just get the 25 key (get it velocity sensitive especially useful for drums). M-audio have a pretty good value.
yeah but this is why i suggested he gets a set of klipsch promedia 2.1 speakers, which are thx certified and fairly accurate (good for checking mixes).
but for his main mixing he can use sennhesier hd280 pro headphones.
plus bottom end in house is a major concern, and he is not going to be able to afford a good enough set of monitors thats going to hit the lows he wants. cheap monitors do not get very loud nor have much bottom end to them which is why i got the klipsch and sennhesier headphones until i can afford a good set of monitors.
edit: plus hes obviously not insanely serious about production just yet which just further justifies my suggestion.
more...
OSMac
Mar 4, 10:43 PM
Might be able to downgrade if you were JB before the upgrade and saved your keys with cydia or tiny umbrella.
xAnthony
May 1, 12:46 PM
Lol thats what i am calling my white iphone now
That looks pretty ugly.
The all black looks much better.
That looks pretty ugly.
The all black looks much better.
more...
ethana
May 2, 07:10 PM
I'm not sure how many production weeks there were for the iphone 8gb. I can tell you that, this specific one was produced in July. Why are you inquiring about this info anyway?
Just bought a sealed one to keep it as a collector's item (or potential investment). Never been opened.
Just bought a sealed one to keep it as a collector's item (or potential investment). Never been opened.
DarkNetworks
Sep 26, 01:51 AM
Im selling my Shuffle hoping to get at least $100 - $120 for it. Im looking at a 20Gb iPod <- Wayyy too much space or a nano. I like the nano because I already take my Shuffle everywhere with me. I like the screen of the nano well because its color and you can view pictures. But a 20Gb or 10Gb 3Gen would be a bit big. And I like the portability of the nano. Its small so I can keep it in my pocket with other school stuff ( ID, pens, ect) and from some pictures I have seen of it it fits in any pocket. I have only 3.6Gb of music so a 4Gb model would be fine. And about 50Mb of pictures. Any advice?
My advice would be to go with the iPod...unless you don't need that space...go for the nano...
My advice would be to go with the iPod...unless you don't need that space...go for the nano...
more...
glocke12
Nov 29, 04:46 PM
Pretty messed up. I feel pretty bad for these guys.
http://www.cnn.com/2010/US/11/29/couple.buys.meth.house/index.html?hpt=C1
http://www.cnn.com/2010/US/11/29/couple.buys.meth.house/index.html?hpt=C1
AP_piano295
Apr 21, 10:16 PM
Did you know the ACLU is a Zionist anti-american based organization bent on destroying religous freedom?
Did you know you display many signs of having paranoid delusions?
Did you know you display many signs of having paranoid delusions?
more...
Goohfy
Apr 22, 11:29 PM
Sorry if this is a stupid question, but I've been lookin' around at all of the changes that may be made to the MBA this year, and was wondering if it will still start at around $999, and if not where will the price range start ? Thanks .
designgeek
Jun 12, 01:10 AM
+1 for ifixit and I'm sure there are many others with the same opinion.
I have not had good luck with sunvalleytech. They shipped a faulty Powerbook G4 power brick and didn't respond to emails.
I have not had good luck with sunvalleytech. They shipped a faulty Powerbook G4 power brick and didn't respond to emails.
more...
bennetsaysargh
Jul 25, 02:05 PM
i would say call applecare.
as for the dog issue, i never knew that!
oh well, i don't have a dog:(
as for the dog issue, i never knew that!
oh well, i don't have a dog:(
mojohanna
Jan 12, 06:54 PM
I think Macbook Air sounds kinda stupid. Macbook mini, macbook lite, macbook nano, macbook just about anything other than air.
What if Apple is launching something like its own nationwide wireless network (wifi, not cell), ties into .mac, iphone, itouch etc? Possibly the technology is easily rolled to other countries and that is part of the reason why the foreign press has been invited.
Pure speculation on my part. I have no "inside sources" or a deep throat.
What if Apple is launching something like its own nationwide wireless network (wifi, not cell), ties into .mac, iphone, itouch etc? Possibly the technology is easily rolled to other countries and that is part of the reason why the foreign press has been invited.
Pure speculation on my part. I have no "inside sources" or a deep throat.
more...
zioxide
Jan 16, 10:26 AM
I read something a few weeks ago about this announcement. It said it was going to be about the RED camera.
peskaa
Apr 18, 04:32 AM
I was in a similar, ish, situation. Other half has Pokemon Black, but our DS Lites don't like our WiFi (how dare we use WPA...), so we decided to upgrade one unit to something more modern.
Initially we bought a 3DS, but sent it back within a few days. The handling of DS games on the upper screen isn't that good to be honest (scaling issues), and we felt the 3D was a waste of time and money. Instead we picked up a new DSi for �95 (love airports), and it's great - less than half the cost, far superior battery life, and also supports WPA and the DSi store.
Initially we bought a 3DS, but sent it back within a few days. The handling of DS games on the upper screen isn't that good to be honest (scaling issues), and we felt the 3D was a waste of time and money. Instead we picked up a new DSi for �95 (love airports), and it's great - less than half the cost, far superior battery life, and also supports WPA and the DSi store.
jimthorn
Jul 3, 11:32 PM
Recently, I've noticed that the Finder isn't running when I start up my iBook and log in. The little arrow indicator isn't under the Finder icon in the Dock, and when I click on the Finder icon, it pops up a message that says something like "Finder is not running".
Strangely, the Finder does seem to be working, at least my idea of what the Finder is. I can open windows, move files around, etc. I can also bring up the Force Quit menu and Restart the Finder. After that everything looks OK. I tried Repair Permissions, thinking that might help, but this weird behavior still happens. Any ideas...?
One idea I'm considering is reinstalling Jaguar from the original CD, but I'm wondering: (1) will my user files be erased and (2) can I install 10.2(.0) over 10.2.6?
Strangely, the Finder does seem to be working, at least my idea of what the Finder is. I can open windows, move files around, etc. I can also bring up the Force Quit menu and Restart the Finder. After that everything looks OK. I tried Repair Permissions, thinking that might help, but this weird behavior still happens. Any ideas...?
One idea I'm considering is reinstalling Jaguar from the original CD, but I'm wondering: (1) will my user files be erased and (2) can I install 10.2(.0) over 10.2.6?
GGJstudios
Apr 11, 03:02 PM
Keep it and upgrade the RAM yourself. It's much cheaper.
jefhatfield
Oct 18, 08:18 AM
...and the last time he posted was in april!!!
it looks like i will prolly fall out of the top ten next year sometime since i can't post as much as the teenagers:p
it looks like i will prolly fall out of the top ten next year sometime since i can't post as much as the teenagers:p
SSpiro
Apr 8, 06:55 PM
ummm everywhere else, there have been no Wii's since launch :)
Then I guess I should have grabbed some when they were here.. lol.
Then I guess I should have grabbed some when they were here.. lol.
GeeYouEye
Jul 25, 01:08 PM
Originally posted by sparkleytone
hmmm i didnt know i could do that. i always take the trouble to do the 'sudo rm -rf System\ Folder/' action...which gets really annoying with odd characters and such
thx for the inadvertent advice
Hmm... I think you're right on this one, and you do need the \ before the space, otherwise it'll treat "Folder" as an argument, and not as part of the name of "System Folder" which could be a real problem if Folder is a valid argument.
hmmm i didnt know i could do that. i always take the trouble to do the 'sudo rm -rf System\ Folder/' action...which gets really annoying with odd characters and such
thx for the inadvertent advice
Hmm... I think you're right on this one, and you do need the \ before the space, otherwise it'll treat "Folder" as an argument, and not as part of the name of "System Folder" which could be a real problem if Folder is a valid argument.
bella92108
Mar 28, 11:56 AM
You can ONLY do a tethered jailbreak on 4.3 (or 4.3.1) currently.. as someone has stated here..
And only on iPad 1 NOT iPad 2, correct?
And only on iPad 1 NOT iPad 2, correct?
No comments:
Post a Comment