Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,521 members, 7,801,434 topics. Date: Thursday, 18 April 2024 at 03:09 PM

Andela: IT Training And Job - Jobs/Vacancies (107) - Nairaland

Nairaland Forum / Nairaland / General / Jobs/Vacancies / Andela: IT Training And Job (619461 Views)

Letter To All Fresh Graduates and Job seekers / Andela: IT Training And Job - Jobs/vacancies / Similarities Between Football And Job (2) (3) (4)

(1) (2) (3) ... (104) (105) (106) (107) (108) (109) (110) ... (263) (Reply) (Go Down)

Re: Andela: IT Training And Job by Barselonia(m): 8:56pm On May 14, 2016
miketayo:

in ur deposit function amount should equal something nd return self.balance . the other part of ur code empty too

Okay let me try again
Re: Andela: IT Training And Job by Barselonia(m): 9:31pm On May 14, 2016
miketayo:


in ur deposit function amount should equal something nd return self.balance .
the other part of ur code is empty too
class BankAccount:

def _init_(self, balance):
self.balance = balance

def deposit(self, amount=0):
self.amount = amount
self.balance += amount

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance



THERE IS AN ERROR/BUG IN YOUR CODE
Results:
Internal Error: runTests aborted: TestOutcomeEvent(handled=False, test=, result=, outcome='error', exc_info=(, TypeError('this constructor takes no arguments',), ), reason=None, expected=False, shortLabel=None, longLabel=None) is not JSON serializable
Re: Andela: IT Training And Job by enigmatique(m): 9:32pm On May 14, 2016
miketayo:

who is in bootcamp class 1?
Present sir!!
Re: Andela: IT Training And Job by miketayo(m): 10:21pm On May 14, 2016
Barselonia:

class BankAccount:

def _init_(self, balance):
self.balance = balance

def deposit(self, amount=0):
self.amount = amount
self.balance += amount

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance



THERE IS AN ERROR/BUG IN YOUR CODE
Results:
Internal Error: runTests aborted: TestOutcomeEvent(handled=False, test=, result=, outcome='error', exc_info=(, TypeError('this constructor takes no arguments',), ), reason=None, expected=False, shortLabel=None, longLabel=None) is not JSON serializable

y did u remove balance = 0 ?
and u havent returned anythn in deposit function..
your code is almost correct though
Re: Andela: IT Training And Job by Barselonia(m): 10:28pm On May 14, 2016
miketayo:


y did u remove balance = 0 ?
and u havent returned anythn in deposit function..
your code is almost correct though
please I don't understand that aspect of that deposit function u are trying to explain... can u please quote that place out
Re: Andela: IT Training And Job by miketayo(m): 10:56pm On May 14, 2016
Barselonia:

class BankAccount:

def _init_(self, balance=0):
self.balance = balance


def deposit(self, amount=0):
self.amount = amount
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance



THERE IS AN ERROR/BUG IN YOUR CODE
Results:
Internal Error: runTests aborted: TestOutcomeEvent(handled=False, test=, result=, outcome='error', exc_info=(, TypeError('this constructor takes no arguments',), ), reason=None, expected=False, shortLabel=None, longLabel=None) is not JSON serializable

@ bolded
Re: Andela: IT Training And Job by johnez1987: 11:01pm On May 14, 2016
Geist:
if you can post the question along with the code you've written I'm will to help.
Post the code you have written for it and the problem you encountered. we maybe be able to assist you
Re: Andela: IT Training And Job by chukky6443(m): 12:30am On May 15, 2016
Please, how do I join Andela as a first timer?
Re: Andela: IT Training And Job by GodblessAll: 1:22am On May 15, 2016
Pls HELP, I urgently NEED A JOB, am out of job due to relocation from PH to Lagos, I got Msc in Software engineering from kingston University London, OCP, CCNA etc., I have professional experience in Database/System/Network/Application administration. Please help me with any information that can put me back to work.
Re: Andela: IT Training And Job by Barselonia(m): 10:42am On May 15, 2016
miketayo:


@ bolded


all test done............................

thanks i really appreciate...moving to the next step
Re: Andela: IT Training And Job by Barselonia(m): 11:15am On May 15, 2016
miketayo:

@ bolded
please can I have ur whatsapp number
Re: Andela: IT Training And Job by Barselonia(m): 11:34am On May 15, 2016
Alleybuy:
Yaaay thanks a lot Oahray. It finally passed. Now onto the DS lab.

To God be the glory.
Hello
Re: Andela: IT Training And Job by miketayo(m): 12:50pm On May 15, 2016
Barselonia:

class BankAccount(object):

def _init_(self, balance=0):
self.balance=balance

def deposit(self, amount=0):
self.amount = amount
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance

all test done............................

thanks i really appreciate...moving to the next step

ur wc.. send me urs ll buzz u
Re: Andela: IT Training And Job by Barselonia(m): 1:36pm On May 15, 2016
miketayo:


ur wc.. send me urs ll buzz u
08063425***
Re: Andela: IT Training And Job by Ali01: 9:10am On May 18, 2016
Why is the thread so quiet
Re: Andela: IT Training And Job by spycamera: 2:01pm On May 18, 2016
It is real, I have a neigbour who succeeded in the test and she is already with them.
Re: Andela: IT Training And Job by Feraz(m): 4:44pm On May 19, 2016
spycamera:
It is real, I have a neigbour who succeeded in the test and she is already with them.
Did she attend a university in the SS?

I joined too. I'm in DS lab. Hoping to finish all tests before this month passes by.
Re: Andela: IT Training And Job by ifeanyiernest05(m): 6:44am On May 21, 2016
Feraz:
Did she attend a university in the SS?
I joined too. I'm in DS lab. Hoping to finish all tests before this month passes by.

Please how long is this home study test going to last
I recieved my link to the proctor site on the 18th and then at the bottom of the mail, they said I need to submit before are 18th of may
Re: Andela: IT Training And Job by tr3y(m): 8:12am On May 21, 2016
johnez1987:

I'm in bootcamp class 1 too.
What is the difference between bootcamp class 1 and class 2?

I just saw your message, you know how it is. No time.

Guess there's no difference.
Re: Andela: IT Training And Job by Barselonia(m): 8:22am On May 21, 2016
am stuck at the DSS please

def manipulate_data (datatype, data):

if (datatype == "list"wink;
return data [::-1]

elif (datatype == "set"wink;
data=data |{"ANDELA"}|{"TIA"}|{"AFRICA"}
return set(data)

elif (datatype == "dictionary"wink;
return [key for key, item in data items()]


getting an info that an error occur running the script
Re: Andela: IT Training And Job by ifeanyiernest05(m): 9:55pm On May 21, 2016
Barselonia:
am stuck at the DSS please
def manipulate_data (datatype, data):
if (datatype == "list"wink;
return data [::-1]
elif (datatype == "set"wink;
data=data |{"ANDELA"}|{"TIA"}|{"AFRICA"}
return set(data)
elif (datatype == "dictionary"wink;
return [key for key, item in data items()]
getting an info that an error occur running the script

Please could you help, all my codes are saying Error running script, but i have compiled it in another compiler and it found no error, what could be wrong
Re: Andela: IT Training And Job by ifeanyiernest05(m): 9:58pm On May 21, 2016
Barselonia:
am stuck at the DSS please
def manipulate_data (datatype, data):
if (datatype == "list"wink;
return data [::-1]
elif (datatype == "set"wink;
data=data |{"ANDELA"}|{"TIA"}|{"AFRICA"}
return set(data)
elif (datatype == "dictionary"wink;
return [key for key, item in data items()]
getting an info that an error occur running the script

Please could you help, all my codes are saying Error running script, but i have compiled it in another compiler and it found no error, what could be wrong

and also try this code.....
def manipulate_list(first = "list", data =[1, 4, 9, 16, 25]):
data.reverse()
return first, data
def manipulate_data(data_type=None, data=None):
if data_type is 'list':
return data[-1:: -1]
if data_type == 'set':
return set.union(data, ["ANDELA", "TIA", "AFRICA"])
if data_type == 'dictionary':
return [keys for keys, item in data.items()]
def manipulate_dictionary(first = "dictionary", data ={"a":1, "b":4,"c":9, "d":16, "e":25}):
keys = set(data) return first, keys
Re: Andela: IT Training And Job by ifeanyiernest05(m): 10:13pm On May 21, 2016

abeg una with God name, what could be wrong with this code

class BankAccount():

def _init_(self, balance):
self.balance=balance

def deposit(self, amount):
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):
def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance
Re: Andela: IT Training And Job by tr3y(m): 5:03am On May 22, 2016
For gues having issues with submission of tests.

Try to validate the input your code receive before working on it.

1 Like

Re: Andela: IT Training And Job by ifeanyiernest05(m): 11:18am On May 22, 2016
tr3y:
For gues having issues with submission of tests.

Try to validate the input your code receive before working on it.

Its just giving the message "error running your script" and I ran every code on an online compiler and it was successful without errors
Maybe I don pass the deadline they said all tests must be submitted before 18th May, but then again they sent the link on the 18th by 11am didn't see it until the 19th.
Maybe I will try again in the next cycle
Re: Andela: IT Training And Job by Geist(m): 5:10pm On May 22, 2016
ifeanyiernest05:


Its just giving the message "error running your script" and I ran every code on an online compiler and it was successful without errors
Maybe I don pass the deadline they said all tests must be submitted before 18th May, but then again they sent the link on the 18th by 11am didn't see it until the 19th.
Maybe I will try again in the next cycle
for starters Python is an interpreted language not a compiled language. So you're running your code on an interpreter not a compiler. And I think it's been mentioned before that Andela lab runs extra tests on the background that maybe your code is not passing. If you need my help though you'll need to post the question also cos I can't remember the question of that particular lab.
Re: Andela: IT Training And Job by Barselonia(m): 8:54am On May 23, 2016
ifeanyiernest05:


Please could you help, all my codes are saying Error running script, but i have compiled it in another compiler and it found no error, what could be wrong
am stuck as u are..
Re: Andela: IT Training And Job by Bashmantech: 2:25pm On May 23, 2016
ifeanyiernest05:

abeg una with God name, what could be wrong with this code

class BankAccount():

def _init_(self, balance):
self.balance=balance

def deposit(self, amount):
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'

else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):
def _init_(self, minimumbalance):
self.minimumbalance = minimumbalance


the problem is with your[b] if statement.[/b] go through it again
Re: Andela: IT Training And Job by gentletalkaktiv: 3:02pm On May 26, 2016
Hi guys pls help me out with this OOP lab.I have tried all I can to debug it but it keeps failing.I have even tried Barselonia's version but it didn't work.It's quite frustrating

class BankAccount(object):

def _init_(self, balance=0):
self.balance = balance

def deposit(self, amount=0):
self.amount = amount
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = balance

cc miketayo bamoza geist Ramos16et.c
Re: Andela: IT Training And Job by Barselonia(m): 5:56pm On May 26, 2016
gentletalkaktiv:
Hi guys pls help me out with this OOP lab.I have tried all I can to debug it but it keeps failing.I have even tried Barselonia's version but it didn't work.It's quite frustrating

class BankAccount(object):

def _init_(self, balance=0):
self.balance = balance

def deposit(self, amount=0):
self.amount = amount
self.balance += amount
return self.balance

def withdraw(self, amount):
if amount > self.balance:
return 'invalid transaction'
else:
self.balance -= amount
return self.balance

class MinimumBalanceAccount(BankAccount):

def _init_(self, minimumbalance):
self.minimumbalance = balance

cc miketayo bamoza geist Ramos16et.c

Make sure d underscore is 2 nnot 1

def __init__

1 Like

Re: Andela: IT Training And Job by gentletalkaktiv: 6:20pm On May 26, 2016
Barselonia:


Make sure d underscore is 2 nnot 1
Which underscore pls,where?thanks
Re: Andela: IT Training And Job by Barselonia(m): 9:44pm On May 26, 2016
gentletalkaktiv:
Which underscore pls,where?thanks
def __init__

(1) (2) (3) ... (104) (105) (106) (107) (108) (109) (110) ... (263) (Reply)

How To Apply For Nigeria Immigration Service (NIS) Recruitment 2017 / Federal Road Safety Commission 2018 Recruitment: How To Apply / FIRS To Recruit 1,250 New Staff

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