Xantipius 15

I know almost nothing about Level of Engineering Education in India, but I know that India has a lot of just excellent engineers.

Xantipius 15

Yes, I have some thoughts on the subj. But they are equal to zero. =)

Remind me an anectode:
One mathematician was asked: have elephants wings?
His reply was: yes, they have wings, but they (their wings) are equal to 0.

Xantipius 15

I got a letter from Oxford

To get into Oxford... mmmrrrrrrrrrrrrrrrr

Xantipius 15

My best present was my Gaming PC!

Come on, boy! Wake up.

Xantipius 15

In Russia this book is known only in translation by V. Volkoff
(he is Boris Berestetsky, - a not very famous, but extremely qualified Soviet physicist).
In Russian it's titled as "Volshebnik Izumrudnogo Goroda".
Literally it means: "A Magician (of/from) Emerald Town".

Xantipius 15

I have no such.
Maybe only a book which my sister gifted me.
It was titled "Wizard of Oz". I was reading it all a Sunday, from sunrise till dawn.

Xantipius 15

Indeed, let's, all we, start to study Mathematical Logic & Set Theory.

Xantipius 15

At my last job my boss lashed into me:
"Why do not you earn money doing some projects for students etc?"
(for years, at work, I was solving numerous algorithmic problems,
because in my the very first year there I had done everything for my factory)

Xantipius 15

Disgusting scumbags those who did it.
In Russian I'd call them "merzoidi".

Xantipius 15

It's simply terrible.

Xantipius 15

The first one is GCD = Greatest Common Divisor

Xantipius 15

``````****    *******
****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, 2, 3, 4, 5, 6, 7, 8
6) 1, 2, 3, 4, 5, 6, 7
7) 1, 2, 3, 4, 5, 6 ---<--- and from this state we find the path to "T",

but cell with "5" in it is still in the stack (but should be popped up).``````

Xantipius 15

Actually we have to declare "text" as global only once:

``````def f():
global t
t = 567

def g():
f()
print t * t

g()``````
TrustyTony commented: correct! +12

Xantipius 15

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