74 Posted Topics
Re: **suzy.morgan.3**, Suzy, the best way for you (and for any noob) is to solve concrete problems. Without knowing algorithms & their fundamentals & dynamic programming & etc you'll be nobody as a specialist. I'd recommend you, for this end, this Polish online contester: http://www.spoj.com/problems/classical/ (there is a whale of such … | |
Today he, this incredible genius of the chess, completes his 50 years. Bartender! Bloody Marys for everyone on DaniWeb.com! **GrimJack will pay for it =)** | |
Re: My desktop: http://funkybee.narod.ru/misc/Clipboard01.png | |
It's the title of a composition by American jazz saxophonist Wayne Shorter (b.1933/08/25). But what is this word per se? I googled it - no avail... all links point to the composition. | |
Re: Obviously this "Job interview question" is just quite a silly joke. | |
Re: You can create a dummy script and keep it running endlessly, and your library will be always in memory, ready to be used by other scripts; the dummy script: import my_library while 1: pass ` | |
| |
| |
Re: Calm down, I'd say. Frankly for me all these Siria, Iraq etc is just mobs of monkeys. | |
![]() | Re: Silence is the best music (c) Miles Davis |
Re: At first glance it reminds to me "The kite" by Somerset Maugham. And yes, Twain's "Tom Sawyer" is an ultra-super-incredible-thing, for all times. In the USSR it was (re)published many times, in an excellent translation by Tchukovskiy. | |
Re: **** ******* ****5********** P1234789******* ****6********** ****$********** ****$T********* *************** Your Stack is filled / emptied like this: 1) 1, 2, 3, 4 2) 1, 2, 3, 4, 5, 6, 7 3) 1, 2, 3, 4, 5, 6, 7, 8 4) 1, 2, 3, 4, 5, 6, 7, 8, 9 5) 1, … | |
Re: I'm a heavy smoker (30-40 cigarettes per each 24 hours), since my 19. I like very much dry red wines, but it is too costly for my wallet. Don't know what to say about the beer; maybe I've never drunk/met a **true** beer. I don't like the vodka (our native … | |
Re: >**Mahatma Gandhi** , father of the nation in my country. Totally agree with you. He was a greatest man on the planet. Nobody can compare to him. >**Joan of Arc** It is a decent choice, too. As for other European/American/Russian "heroes" -- I can't recall anybody. Maybe only Thomas Jefferson … | |
I'm all of ready to answer any of them. | |
Re: http://math.stackexchange.com/ http://mathoverflow.net/ http://physics.stackexchange.com/ (a bonus link =)) | |
Re: Just for to start with smth... x = input('Enter the before-tax price (in cents):') y = input('Enter your painment (in cents):') z = y - int(1.05 * x) print 'Your change is:' print '$:', z / 100 z = z % 100 print 'quarters:', z / 25 z = z … | |
Re: Spot.Spot(myLine[j] == 'B') or from Spot import Spot | |
You might have heard of the Fibonacci numbers and of the number pi. If you let these two ideas merge, a new and esoteric concept comes into being: the Pibonacci numbers. These can be defined for real x >= 0 by: **P(x) = 1 for 0 <= x < 4 … | |
Re: Actually we have to declare "text" as global only once: def f(): global t t = 567 def g(): f() print t * t g() | |
Re: **Kert**, in Python 2.5 your script works fine. Means... what? A bug, I guess. | |
Re: Dani, email to me ( *[email removed]* ) the data file. And I will try to understand what exactly have to be done. Vitali | |
Re: enjoy: f = open('C:/data.txt', 'rt') a = f.read().split('\n') f.close() del a[0] del a[10:] print a | |
Re: r = ['1 zzz', '2 bbb', '3 hhhhh', '4 c'] r.sort(key=lambda x: x[x.find(' '):]) print r |
The End.