Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,343 members, 7,819,209 topics. Date: Monday, 06 May 2024 at 12:48 PM

SEE . . . ANDELA: Learn To Program And Get Paid As You Learn - Jobs/Vacancies - Nairaland

Nairaland Forum / Nairaland / General / Jobs/Vacancies / SEE . . . ANDELA: Learn To Program And Get Paid As You Learn (2038 Views)

Invitation For Computer Based Test For Ncdmb Training Program And Interview / Andela Nigeria Graduate & Exp. Job Recruitment (12 Positions) / State Director Of Program And Field Officers Job In An NGO (2) (3) (4)

(1) (Reply)

SEE . . . ANDELA: Learn To Program And Get Paid As You Learn by PSolutionsNG: 7:39pm On Mar 15, 2017
The Andela Fellowship is a four-year, paid Technical Leadership Program designed to shape you into an elite software developer. Through your training and work with top global technology companies, you’ll master the professional and technical skills needed to become a technology leader, both on the continent and around the world.

It is a great opportunity for young and smart Nigerians - http://transenergize.com/2017/03/11/the-andela-fellowship-2017/

Re: SEE . . . ANDELA: Learn To Program And Get Paid As You Learn by Nascimento(m): 10:33am On Mar 17, 2017
Good day everyone. I need help on this test. My solution is not passing the test. Here is the question:

HST2: RECURSION LAB
Write a function power that accepts two arguments, a and b and calculates a raised to the power b.

Example:

power(2,3) = 8
Raise a TypeError with the message Argument must be integer or float if the inputs are anything other that ints or floats.

Note: Don't use **




And here is my solution:

def power(a,b):
if not isinstance(a or b,int or float):
raise TypeError('Argument must be integer or float')
else:
if(int(b)==0):
return 1

elif(int(a)==0 and int(b) >= 0):
return 0
elif(int(b)==1):
return a
else:
n = 1
c = int(a)
while n < int(b):
c*=int(a)
n+=1
return c
Re: SEE . . . ANDELA: Learn To Program And Get Paid As You Learn by Kingjohnchike(m): 1:01pm On Aug 11, 2017
You can become a skilled programmer.

(1) (Reply)

Fresh Graduate Trainee Recruitment At Atacoff Services / Nigeria Federal Fire Service New Recruitment 2017 / How To Apply For Exxonmobil Graduate Recruitment 2017

(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. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.