74 Posted Topics

Member Avatar for suzy.morgan.3

**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 …

Member Avatar for Xantipius
0
217
Member Avatar for Xantipius

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 =)**

Member Avatar for Xantipius
-1
168
Member Avatar for cynusalisa
Member Avatar for Xantipius
-3
67
Member Avatar for Xantipius

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.

Member Avatar for Xantipius
-1
50
Member Avatar for bukhtoyarov.vladimir.7
Member Avatar for deceptikon
-3
258
Member Avatar for paine_today

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 `

Member Avatar for paine_today
0
146
Member Avatar for hotblink
Member Avatar for hainguyen178
Member Avatar for faroukmuhammad

Calm down, I'd say. Frankly for me all these Siria, Iraq etc is just mobs of monkeys.

Member Avatar for Xantipius
0
447
Member Avatar for LastMitch
Member Avatar for BigPaw

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.

Member Avatar for Xantipius
0
168
Member Avatar for sym366

**** ******* ****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, …

Member Avatar for Xantipius
0
1K
Member Avatar for syedamuhibzahra

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 …

Member Avatar for stultuske
0
264
Member Avatar for GrimJack

>**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 …

Member Avatar for GrimJack
3
534
Member Avatar for Xantipius
Member Avatar for nitin1

http://math.stackexchange.com/ http://mathoverflow.net/ http://physics.stackexchange.com/ (a bonus link =))

Member Avatar for nitin1
0
203
Member Avatar for hotblink

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 …

Member Avatar for Xantipius
0
442
Member Avatar for Amy_3
Member Avatar for Xantipius

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 …

Member Avatar for Xantipius
-1
180
Member Avatar for jim.lindberg1

Actually we have to declare "text" as global only once: def f(): global t t = 567 def g(): f() print t * t g()

Member Avatar for hughesadam_87
0
138
Member Avatar for Kert

**Kert**, in Python 2.5 your script works fine. Means... what? A bug, I guess.

Member Avatar for ZZucker
0
343
Member Avatar for danifj

Dani, email to me ( *[email removed]* ) the data file. And I will try to understand what exactly have to be done. Vitali

Member Avatar for Xantipius
0
152
Member Avatar for vimalya

enjoy: f = open('C:/data.txt', 'rt') a = f.read().split('\n') f.close() del a[0] del a[10:] print a

Member Avatar for vimalya
0
164
Member Avatar for pxalpine

r = ['1 zzz', '2 bbb', '3 hhhhh', '4 c'] r.sort(key=lambda x: x[x.find(' '):]) print r

Member Avatar for woooee
0
196

The End.