Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,207,749 members, 8,000,184 topics. Date: Tuesday, 12 November 2024 at 02:14 AM

Rockok's Posts

Nairaland Forum / Rockok's Profile / Rockok's Posts

(1) (2) (3) (of 3 pages)

Jobs/Vacancies / Re: Federal Road Safety Commission 2018 Recruitment: How To Apply by rockok: 2:48am On Sep 22, 2018
heskeyw:
Somebody sent frsc ffs and psc past questions to my mail. Thanks to the person that did that. If u haven't gotten urs, indicate wt ur Gmail add so that I will forward it to ur mail.
pls the past questions.
rockok10@gmail.com
Jobs/Vacancies / Re: Federal Road Safety Commission 2018 Recruitment: How To Apply by rockok: 2:39am On Sep 22, 2018
happy662:
If u need frsc data summary page template, mention me and post ur email address. I am sending it to u free of charge
rockok10@gmail.com
Jobs/Vacancies / Re: Federal Road Safety Commission 2018 Recruitment: How To Apply by rockok: 2:30am On Sep 22, 2018
Pls someone should send me the past question to rockok10@gmail.com
Education / Re: National Open University Of Nigeria (NOUN) Students by rockok: 6:40pm On Oct 19, 2017
ev4real:

The question is; do you have any challenge in starting this semester ?
If there are any challenge it should be financial. I would like to begin by next semester so as to put everything in place before starting.
Education / Re: National Open University Of Nigeria (NOUN) Students by rockok: 3:37pm On Oct 19, 2017
I got admission recently specifically this month. But, I would not like to begin this present semester until next semester. Is it possible? should I proceed with the screening? please help.

1 Like

Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 11:04pm On Dec 02, 2016
Noel1:
Actually,I wasn't patient enough to interpret the question right. The first item was meant to be the number of occurence of +ve number nd not the sum. I've corrected it. Thanks bro. Are u true with the homestudy curriculum? Its a bit much.
Sorry for the late reply. I didn't apply to andela. Hoping to do so in next class. Wish you the best.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 9:18am On Nov 22, 2016
Noel1:
Can someone help on this particular lab test please ?
I keep getting this error


Total Specs: 3 Total Failures: 2
1 . test_it_returns_correct_output_with_positives
Failure in line 15, in test_it_returns_correct_output_with_positives self.assertEqual(result, [4, 0], msg='Invalid output') AssertionError: Invalid output
2 . test_returns_correct_ouptut_with_negatives
Failure in line 19, in test_returns_correct_ouptut_with_negatives self.assertEqual(result, [4, -14], msg='Invalid output') AssertionError: Invalid output



Here is the my code. It works perfectly well on my machine. I don't know why i keep getting error with andela lol. Someone please help review this code:


def manipulate_data(list_arg):
pos_count = 0
neg_count = 0
positive_integers = 0
negative_integers = 0

list_result = []
if type(list_arg) != list:
return "Only lists allowed"
else:
for list_item in list_arg:
if list_item >= 0:
positive_integers += list_item
pos_count += 1
else:
negative_integers += list_item
neg_count += 1
if pos_count > 0:
list_result.append(positive_integers)
if neg_count > 0:
list_result.append(negative_integers)
return list_result



.
have you been able to solve your problem yet? I guess you have not. for most test cases in programming, it is common that there are more test cases while submitting as compared to testing your code.
One reason while you might not be able to pass the submission test might be because your code refers to 0 (zero) as a negative number. there could be zero on the list which might lead to the error you are getting.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 10:08pm On Apr 12, 2016
we should be expecting reply by friday.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 12:21am On Jan 20, 2016
OMG! I got invited. This is the first step in a journey of a thousand mile. God is worthy.

2 Likes

Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 4:39pm On Jan 16, 2016
faith2ogesco:
was ur mail like d one I posted?
I got just one test and i didn't get the regret mail anyway. so i think the number of test is not a factor. I got the same mail as yours.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 2:54pm On Jan 16, 2016
faith2ogesco:
its not a regret mail. d regret mail was different. chk d previous page for a sample. btwwhat I meant by 2 curriculums is that there were two tests when you log in to proctor. they are the same thing but u HV to take them seperately if you want to complete it.
Goddamn lie! There is just one curriculum one home study.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 7:44pm On Jan 12, 2016
fhemmie:
Please house, I am struggling with this part of the labs. I have put in all indentations and punctuations but still get the error as shown:
There are two things I observe from your code.
first: Your index is out of range; that means use
range(1, len(list)-1):
instead.
secondly: remove
continue
and your code would be ok. continue would make your loop skip a step.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 4:45pm On Jan 11, 2016
and Your code doesn't seem to have indentation. hope i don't need glasses?
fhemmie:
Hi guys,

I am not sure what is really wrong in my code but I keep getting the error shown. Please help...
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 9:22pm On Jan 04, 2016
stereo:


Because my output is: set(['a', 'c', 'b', 'e', 'd', 'AFRICA', 'TIA', 'ANDELA']) after using add() to attach the last three strings

and expected output is: {'a', 'c', 'b', 'e', 'd', 'ANDELA', 'TIA', 'AFRICA'}

So here lies the problem. Any help?
just use The set place holder.union("ANDELA", "TIA", "AFRICA" , this is what is expected of you. remember your 'ANDELA', 'TIA', 'AFRICA' should be a set.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 7:48am On Jan 04, 2016
In the algo lab, 1 (one) was referred to as a prime number. which is not true. one is a composite number since prime numbers should have only two factors. I had a lot of issue with that in the course of coding until i realise they meant one to be a prime number.

1 Like

Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 8:28am On Jan 03, 2016
forjamb:


Hi, could you please elaborate how you merged all three under one function?
I'm kind of stuck here.
Thanks.
Maybe you did't understand the question. your function should be able to return different Ds base on the input. And that is possible using conditions in python. I hope you understand what I am trying to say here. Just use three different conditions.

1 Like

Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 5:51am On Dec 30, 2015
rockok:
I am having issues trying to login to proctor.andela.co for the first time. I received an email asking me to use my email and all the characters before the @ sign as my password. But I still get invalid email or password. pls somebody help me out.
OMG! it just worked. I did nothing. I just had to try over and over.
Jobs/Vacancies / Re: Andela: IT Training And Job by rockok: 6:14am On Dec 29, 2015
I am having issues trying to login to proctor.andela.co for the first time. I received an email asking me to use my email and all the characters before the @ sign as my password. But I still get invalid email or password. pls somebody help me out.
Business / Re: UPDATED - [Shippyme.com Is A Nightmare Waiting To Happen To You.] by rockok: 9:49pm On Apr 04, 2015
Shippyme is all time greatest failure. Please avoid them like leprosy.
Business / Re: Shippyme Customer Care Thread On Nairaland by rockok: 6:25pm On Apr 04, 2015
A beg shippyme, what is the statue of my package s1412053591? Pls don't tell ready for collection. I want to know where it is. Not at your office in lagos i believe. Because that is not what i paid for. Pls tell me i won't bother doing any business with you again. I tire for una.
Business / Re: Shippyme Customer Care Thread On Nairaland by rockok: 7:30am On Apr 03, 2015
Pls, where will i collect my shipment S1412053591? I paid for it to be delivered to a makurdi ABC terminal.
Business / Re: Shippyme Customer Care Thread On Nairaland by rockok: 12:17pm On Jan 04, 2015
For christ sake is shippyme not going to start shipping S1412053591? Despite all the odd review they are not making effort to fix those problem. Anyway, shippyme is already a failure.
Business / Re: UPDATED - [Shippyme.com Is A Nightmare Waiting To Happen To You.] by rockok: 9:15pm On Dec 05, 2014
irohadis:


There should be no problem with that. Where there will be a problem is when we start receiving packages bearing John Robbinson for your address when the registered name is "Okechukw." Write us an email and the IT department should be able to sort it out for you.
Thanks for your reply. I believe i would have a very good time with shippyme.
Business / Re: UPDATED - [Shippyme.com Is A Nightmare Waiting To Happen To You.] by rockok: 6:15pm On Dec 05, 2014
There is an issue i am wondering how it is going to affect me. Recently i registered with shippyme. While i was booking my shipment, i discovered that i made a spelling error in the course of registeration. I wrote Okechukw instead of Okechukwu. I tried to make a correction but i can't. How would that affect me?
Business / Re: UPDATED - [Shippyme.com Is A Nightmare Waiting To Happen To You.] by rockok: 5:01am On Dec 05, 2014
I am becoming afraid already since i did not do my homework b4 geting involved with shippyme. Anyway. What is most important me is i want to see how they are going to handle my first transanction before i make any conclusion about them.

(1) (2) (3) (of 3 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 31
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.