Humanbean's Posts
Nairaland Forum › Humanbean's Profile › Humanbean's Posts
1 2 (of 2 pages)
Good morning everyone. Please Pitoski, Uwa1 and DAMEFIZZY, could you guys do me a huge favor and also forward the test prep materials to kayceeon7@yahoo.com. I'd be very grateful for this. Thanks all. |
Petrol ~ N100. Diesel ~ N160. When diesel becomes cheaper, we can again reconsider. |
imsuboi:The Am crew! Hehehe. Nice one bro . We'll be waiting for your crewmates so that we can cure your "Am" fever all at once ![]() |
godofwar666:Thank you so much brother. You have educated a lot of people with this one post. |
My people, social media has a way of warping the way we use the English language such that colloquialisms and shortcuts that we use informally start encroaching into formal and official situations. To cut the long story short, please do not say am when you mean I'm. Its unbelievably infuriating. Imagine seeing such grammatical mistakes in official documentation coming from graduates. Graduates!!! It is "I'm sure you will enjoy doing business with us" NOT "Am sure you will enjoy doing business with us". Abeg!!! I'm not Am. Please let us try to keep this in mind and not disgrace the education that we claim to have spent years acquiring. Thank you. |
My Noela is gone |
Try this on a lagos babe and peeps in Dubai will hear the thunderclap that will land on your face ni. Oyibos... :-) |
Funny the noise about infinix devices. I haven't used many other devices so I can't really compare. I have the race bolt and my only regret when I bought the phone is that I didn't buy the race bolt Q. 512mb ram on the race bolt sucks compared to the 1gb ram on the race bolt Q and so far, I haven't been able to find a kernel that supports swap so that I can boost the ram. Anyways, the race bolt is a good phone, although it does take time to charge. It really doesn't heat up like I hear a lot of people say, although when playing games and charging the phone, temperatures can get up to 46 degrees C. All the battery apps I have used advise against playing games and charging the phone at the same time so I guess its a general thing. Over and above all, its a good device for the price. I'm sure the race bolt Q should be better. |
Hallo Pythonistas. Baby Pythonista reporting here for duty ( hehehehehe ) |
Judinho59:Lol! Thanks bruv. Seeing results from other languages, I now understand all the brouhaha about Python's speed. I also have noticed why there's a lot of noise about its small memory footprint. Learning lil by lil, day by day. |
Thanks Elvis. I'm about 1 month into programming so this is encouraging to me. I took a look at your code. Can I challenge you to use only one formula? Can you write it without using the second formula, like I did in mine? I wrote mine to compute each of the first 20 terms manually and then sum them, as opposed to using the default formula for that, like you did. I'd like to see how its done in PHP as I don't have any PHP experience. Expecting your reply. |
humanbean: (Coded in Python 2.7) elvis10ten: use www.ideone.com to run the code.The results from Ideone are here - http://ideone.com/OxtlPV (summary - time:0.08s, memory: 8888kb, output: elvis10ten, the answer to your question is 541) |
U didn't ask for that initially. That will come later. You can rest assured that it runs properly. |
humanbean: Just started delving into programming. I don't know PHP but I took up your challenge in Python. The code is a function to accept any number from the user and output any number of multiples he desires. I used a for loop and addition as you asked, but I don't know how to test the cpu load. The main code is about 4 lines. Please point out how I can optimise this.So I rewrote the code for IDEOne.
Results are here - http://ideone.com/FlsbRi (Summary - time: 0.01s, memory: 7728 kB) |
Djtm: assembly language
|
spikes C: Use the code tagThanks bro. There really is so much I have to learn ![]() |
(Coded in Python 2.7) ![]()
|
WhiZTiM: . . . Yes I know... That is why i wrote.. . . Yes I know... That is why i wrote.[/quote]Oga WhiZTiM I don present for Py na . Make me sef find small trouble. Abeg who fit code dis tin in assembly language? ![]() |
Lol. See mortal kombat don set. :-D |
humanbean: Just started delving into programming. I don't know PHP but I took up your challenge in Python. The code is a function to accept any number from the user and output any number of multiples he desires. I used a for loop and addition as you asked, but I don't know how to test the cpu load. The main code is about 4 lines. Please point out how I can optimise this.OMG. That is sooooooo not how that is supposed to appear EDIT The original post has been corrected ![]() |
Just started delving into programming. I don't know PHP but I took up your challenge in Python. The code is a function to accept any number from the user and output any number of multiples he desires. I used a for loop and addition as you asked, but I don't know how to test the cpu load. The main code is about 4 lines. Please point out how I can optimise this.
|
1 2 (of 2 pages)

? WTF