Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

( ★The-Hydra Learning Service ★)--===-- [Who is New to Python and Needs Help]

Hey Python Coders

I Hope your day/night is the coolest ever 🙂 ✌
Aaah well, I finished my exams as u know if you read my last thread... if you didn't ... here you know 😝, so ... during my exams i was checking the python forum from time to time ... and I noticed there are some new guys came here ... so first, i wanna say Hello and Welcome with you here ... and i wanna offer you guys a service, if you
  • Have a Question.

  • Have a Script you wanna check.

  • Wanna Teacher, Mentor or Guru



I'm here and glad to hear from you 🤝 🙂.


hey i am new where do i sign up for a mentor
Glad to know other members are more than willing to help out each other in this section of the forum. I too had a thread like this earlier last year but it wasn't very successful. Hopefully you are more successful than I was. Good luck!
I'd also want to sign up too.

How do I do so now?
I have a quick question. Is there a particular site or tutorial you would recommend?
Glad to see you are helping out new coming programmers! I recommend him for a mentor eh ;o
(Jan 28, 2012 03:15 AM)Prominent Wrote:  Glad to see you are helping out new coming programmers! I recommend him for a mentor eh ;o

I entirely agree with you there! You can learn a lot from The-Hydra!

cheers
(Jan 27, 2012 09:29 PM)Nath Wrote:  I have a quick question. Is there a particular site or tutorial you would recommend?

well buddy i recommend you the thread i made and toki, which you can find here: https://hackforums.net/showthread.php?tid=1788677

(Jan 28, 2012 03:15 AM)Prominent Wrote:  Glad to see you are helping out new coming programmers! I recommend him for a mentor eh ;o

(Jan 28, 2012 07:28 AM)claim Wrote:  I entirely agree with you there! You can learn a lot from The-Hydra!

cheers

Thanx a lot guys for your recommendation .. I really appreciate it 🤝 🙂
Could you explain me this code? I know it is for Bubblesort, but it looks quite confusing, using lambdas, etc.

Code
class Bubble: bubbleSort = lambda self,l,t: list(list(([[lambda a,b:None,l.insert][t=='d'],[lambda a,b:None,l.insert][t=='a']][(l[n]>l[n+1])](n+2,l[n]),[[lambda a:None,l.pop][(t=='d')],[lambda a:None,l.pop][(t=='a')]][(l[n]>l[n+1])](n))for n in range(len(l)-1))for i in range(len(l)))
(Jan 28, 2012 10:36 AM)JrMn Wrote:  Could you explain me this code? I know it is for Bubblesort, but it looks quite confusing, using lambdas, etc.

Code
class Bubble: bubbleSort = lambda self,l,t: list(list(([[lambda a,b:None,l.insert][t=='d'],[lambda a,b:None,l.insert][t=='a']][(l[n]>l[n+1])](n+2,l[n]),[[lambda a:None,l.pop][(t=='d')],[lambda a:None,l.pop][(t=='a')]][(l[n]>l[n+1])](n))for n in range(len(l)-1))for i in range(len(l)))

Who the f**k coded this and where did u find it ?
If you are looking for a student or someone to share your knowledge with, shoot me a PM.
(Jan 28, 2012 10:57 AM)-๖ۣۜDivine- Wrote:  If you are looking for a student or someone to share your knowledge with, shoot me a PM.

Are you talking to me or the Guys in HF 😁 ?
(Jan 28, 2012 10:36 AM)JrMn Wrote:  Could you explain me this code? I know it is for Bubblesort, but it looks quite confusing, using lambdas, etc.

Code
class Bubble: bubbleSort = lambda self,l,t: list(list(([[lambda a,b:None,l.insert][t=='d'],[lambda a,b:None,l.insert][t=='a']][(l[n]>l[n+1])](n+2,l[n]),[[lambda a:None,l.pop][(t=='d')],[lambda a:None,l.pop][(t=='a')]][(l[n]>l[n+1])](n))for n in range(len(l)-1))for i in range(len(l)))

Here is a nice explanation of bubblesort http://xoax.net/comp/sci/algorithms/Lesson1.php
(Jan 28, 2012 11:00 AM)Hydra_ Wrote:  Are you talking to me or the Guys in HF 😁 ?

Well you said 'Wanna Teacher, Mentor or Guru '
So yeah i am talking to you :)
(Jan 28, 2012 11:10 AM)-๖ۣۜDivine- Wrote:  Well you said 'Wanna Teacher, Mentor or Guru '
So yeah i am talking to you :)

check the previous couple of lines before 'Wanna Teacher, Mentor or Guru ', i said ... If you
😝 🙂


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by rammstein091Feb 8, 2024 11:44 PM 11 277 Feb 8, 2024 11:44 PM
Last Post: peolsolutions
[Python] by Potassium456Aug 20, 2023 02:05 AM 21 581 Aug 20, 2023 02:05 AM
Last Post: Lucky4L
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L