Programming › Re: Python Programming by ypeace: 4:34pm On May 07, 2018 |
efficiencie: I was playing around with some stuff on decision trees and came up with the following problem. I was able to work out a solution but I think my solution may be too slow and I am hoping someone might have a faster alternative. Here is the problem:
Design a function that accepts a digit; say 'n', and returns a list of lists of unary digits between 0 and 'n-1', pairs of digits between 0 and 'n-1', triples of digits between 0 and 'n-1', up until the '(n-1)-tuple' digits between 0 and 'n-1'.
for example;
if n = 2 the function return: [[0], [1], [0, 1]] if n = 3 the function returns: [[0], [1], [2], [0, 1], [0, 2], [1, 2], [0, 1, 2]] if n = 4 the function returns: [[0], [1], [2], [3], [0, 1], [0, 2], [0, 3], [1, 2], [1, 3], [2, 3], [0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]]
cc ypeace, 4kings, Ajibel, adejumoadeoluwa, melodyogonna, alexis, Nobody and co find my solution in the pix below or here ==> https://pastebin.com/C1ZFfDKa
|
Programming › Re: Python Programming by ypeace: 10:57am On May 07, 2018 |
|
Programming › Re: Python Programming by ypeace: 8:28am On May 07, 2018 |
hilaryxoxo: HEY GUYS,
what do you guys think about this online python course? gurus in the house? Please advise on this.
This is the absolute beginner course https://www.edx.org/course/introduction-to-python-absolute-beginner This are all the other python courses they have https://www.edx.org/course?search_query=python Hello. I am not a guru but I think those who have taken those courses can best advice you on it. If you are a complete beginner, I will advice you to start from sololearn (a mobile app). It is good enough for basics. It is also free and easy to get started with (you don't even need to have python on your pc to get started) |
Programming › Re: I Need A Programming Partner by ypeace: 9:45pm On May 05, 2018 |
Dramzyy: I need a programmer who I can partner with I have two app ideas and am sure the world will love it Am based in Lagos and I stay at ogba Ikeja Message me @ dram zy if you know you're ready to change d world I need a partner too and I have ideas I want to implement. But I won't mind if we build yours first. I use python/flask, node, react, reactNative, solidity and vyper. I know c++ basics. You can contact me on WhatsApp @0.8.1.3.7.4.5.7.8.6.2 |
Programming › Re: Python Programming by ypeace: 11:48am On May 02, 2018 |
ypeace: Lolz, your one liner looks better. I think it will be faster too. Map takes in a function as its first arg and an iterable (list, set) as second arg. It then passes each element in the iterable to the function.
def add_five(X): ....return x + 5
[map(add_five, [1,2,3,4,5])] //[6, 7, 8, 9, 10] |
Programming › Re: Python Programming by ypeace: 11:43am On May 02, 2018 |
efficiencie:
This one-liner is critical! Make I look am well! Anyways here is my one-liner. https://pastebin.com/L18nXV4f
# modified: @ypeace, could you please explain how map works in your one-liner! Lolz, your one liner looks better. I think it will be faster too. Map takes in a function as its first arg and an iterable (list, set) as second arg. It then passes each element in the iterable to the function. def add_five(X): return x + 5 [map(add_five, [1,2,3,4,5])] //[6, 7, 8, 9, 10] |
Programming › Re: Python Programming by ypeace: 11:29pm On Apr 30, 2018 |
efficiencie: BEGINNER CHALLENGE (copied)
Sliding window array multiplication. Find my solution in the link below (together with one liner)........ Remove the space before .com https://pastebin .com/416XdY7n
|
Programming › Re: I Don't Know Where To Start..somebody Help!!!! by ypeace: 8:46am On Apr 20, 2018 |
Obiossy: I have no knowledge of programming but I have developed this passion for some ICT SKILLS...LIKE WEB DEVELOPMENT,3D ANIMATION AND ETHICAL HACKING..PLEASE I DON'T KNOW WHERE TO START..SOMEBODY HELP ME AND POINT ME TO THE RIGHT DIRECTION !!!! Send me a message on WhatsApp 0.8.1.3.7.4.5.7.8.6.2 |
Programming › Re: Frond End Developer Needed As A Partner by ypeace(op): 8:45am On Apr 20, 2018 |
. |
Programming › Re: Frond End Developer Needed As A Partner by ypeace(op): 11:34pm On Apr 19, 2018 |
semele001: ypeace 76zePYYSyLlp What does this mean? |
Programming › Frond End Developer Needed As A Partner by ypeace(op): 8:52pm On Apr 19, 2018 |
Hello guyz, I need a frond end developer who is good in graphics, react and reach native (python but not really necessary) as a partner.
I do blockchain projects (mostly for fun). But I want to get serious with it. I use python/flask for my backend. Other Lang & Framework: ethereum solidity, ethereum vyper, node js, react/redux, react native. I know basics of c++ which I learnt in order to be able to read codes from other coins. You can contact me on WhatsApp with 0.8.1.3.7.4.5.7.8.6.2 |
Programming › Re: Bitcoin Private Key Saga by ypeace: 8:25pm On Apr 19, 2018 |
danolorunmo: Hello all. A friend of mine bought a blockchain wallet with some amount of btc inside. The thing is after logging in, he tried sending some coin out but he was asked for private key. Is there a way this private key can be recovered or this step (request for private key) bypassed? Kindly contact me if u have any knowledge 07033458776. There might be rewards.... Thanks in anticipation. Your friend may have been duped. It is possible to import address as watch only on blockchain. Watch only address don't have private key to spend them. There is no way you can spend the bitcoin in an address without the private key. PS: I am a blockchain developer (noob). |
Forum Games › Re: Eye Test: Spot What Is In This Picture In 5 Seconds by ypeace: 7:31pm On Apr 01, 2018 |
.
|
Tech Jobs › Re: [done] Come In If You Can Program Erc20 Token / Smart Contract by ypeace: 11:14pm On Jan 29, 2018 |
08137457862 |
Tech Jobs › Re: [done] Come In If You Can Program Erc20 Token / Smart Contract by ypeace: 11:58am On Jan 28, 2018 |
Wow, interesting. I thought I am the only one interested in blockchain development in Nigeria. I have done few projects on ethereum too. Can we have a group on telegram pls? |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 1:20pm On Aug 25, 2017 |
2000usd Payoneer needed
1000usd skrill needee |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 3:57pm On Aug 15, 2017 |
1500usd payoneer needed. check my sig for contact details |
Programming › Re: Ajax On Operamini by ypeace: 12:21pm On Jul 16, 2017 |
Olyboy16: dont reduce ajax usage, instead design your app to in a way that it doesnt rely heavily on ajax(improving code design, not reducing service quality, hope u get this?). i do advice coders not to be too trigger-happy with ajax; over-usage of ajax may result in rough backend codes in the hands of a less experienced developer; and unless u're a very talented web developer, you wont like the results of your segregated client js codes in the long run. . simply ensure the core functionality of your webpages doesnt rely heavily on ajax...that way, you wont have to work through unnecessary headache of browser detection and adaptation. . you can work with these rules 1. content first, chrome later. (study twitter.com) 2. your js should be useful and useful only. (dont write js for fun and show-off) 3. and off-course...avoid reinventing the wheel. use frameworks! . u can add yours Hello, pls can you contact me with the number on my sig? |
Programming › Re: Javascript - Closures by ypeace: 11:50am On Jul 16, 2017 |
pidginedtec: For this video, I discussed javascript closures. Enjoy! Nice tutorial. I sent you a mail, pls reply. |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 10:48am On Jul 01, 2017 |
chidozy15: $1500 payoneer available 07064748447 let's deal |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 12:27pm On Jun 16, 2017 |
|
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 11:34am On Jun 16, 2017 |
1500usd btc for sale @389. check my SIG for contact details |
NYSC › Re: For Those Posted To Kwara State- Let's Meet Here by ypeace: 8:42am On May 18, 2017 |
AwesomeDuru: Sorry for the inconvenience, but send me a message on whatsapp no problem |
NYSC › Re: For Those Posted To Kwara State- Let's Meet Here by ypeace: 8:35am On May 18, 2017 |
08189737692 |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 4:43pm On May 17, 2017 |
HazzanTazzan: Ok 934$ Payoneer available at 365/$...
Contact me on whatsapp...
Don't comman negotiate pls ... hmm boss |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 3:53pm On May 17, 2017 |
teekay213: pls I want to ask some questions about crypto currency market value.lately my friend has been persuading me about buying some like ripple and stellar etc,but I don't have any idea.is it safe?what do you think about it?to anyone who has any idea. join @cryptogene on telegram, you will get all your question answered about cryptocurrency trading. All for free. |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 11:14am On May 17, 2017 |
btc available @ 394/USD....
check my SIG for contact details |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 12:05pm On May 16, 2017 |
500 USD skrill needed |
Phones › Re: The Xiaomi Thread. by ypeace: 8:58am On May 08, 2017 |
Mckandre: snapdragon all the way, let the shackles of mtk devices release u IJN.  lol. thanks boss |
Phones › Re: The Xiaomi Thread. by ypeace: 2:31pm On May 07, 2017 |
hello xiaomi users. I need your advice. Please which one is better mtk 4gb ram / 64 gb rom--Mali T880 MP4 700MHz ( https:///k6gTIv) or snapdragon 4gb ram/ 64gb rom -- Adreno 506, 650MHz ( https:///mCNgkG) |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 1:30pm On May 06, 2017 |
FrancisAdl: $452 payoneer funds for sale @375/$
Contact me at 08068069104 if interested nice transacting with you.
*Thumb up* |
Business › Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by ypeace: 1:26pm On May 06, 2017 |
varmint: $50 payoneer available
contact on profile bring it. check my signature for contact details |