Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 8:50am On Apr 08, 2016 |
The codes screen shot above have one re-occurring syntax error-- the use of semicolons after each statement and the use of semicolons instead of colon after the function name declaration....
The codes screen shot above have one re-occurring syntax error-- the use of semicolons after each statement and the use of semicolons instead of colon after the function name declaration....
The codes screen shot above have one re-occurring syntax error-- the use of semicolons after each statement and the use of semicolons instead of colon after the function name declaration.... |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 6:56pm On Apr 01, 2016 |
mazma: How did you resolve yours? Having the same issue too.  wat error are you talking of please.... |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 4:50pm On Mar 30, 2016 |
iamoracle: can someone help me with the fizzBuzz lab pls, this is my code Declare your function properly n your function also does not take any argument...... plus, watz with the console.log?.... Try reading the material on JavaScript functions again. |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 9:41pm On Mar 29, 2016 |
I have seen it. But it requires your LASSR no to register and I don't think the internship is paid. |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 6:01pm On Mar 29, 2016 |
omonosa25: my recursive_factorial code is getting the maximum depth exceeded error finally done... Thanks for the Hints at all |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 5:54pm On Mar 29, 2016 |
my recursive_factorial code is getting the maximum depth exceeded error |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 6:38pm On Mar 28, 2016 |
omonosa25: i made amends as instructed but still getting thesame error
but, check this ALgo lab i have fixed both the ALGO and OOP lab.........Thanks @all BUT can you help me with the code for iterative_factorial or give me a Hint? |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 6:08pm On Mar 28, 2016 |
enigmatique: 1. It should be BankAccount(object) not just BankAccount. 2. The names of two of your functions are wrong i.e it should be deposit and not Deposit, withdraw and not Withdraw. 3. In withdraw(), it should be if amount > balance: and not if amount < balance: Correct those and let's know the outcome. i made amends as instructed but still getting thesame error but, check this ALgo lab
|
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 10:52am On Mar 28, 2016 |
enigmatique: Here are the problems/quirks I see in your script: 1. You don't need that "continue" statement on line 6. The for loop will continue normally. 2. int is a built-in function of Python! Just like len(), range(), str(), it can't be used as a varible name. The Proctor interpreter also shows this coz it gave len() and range() the same color as int. So use another variable name e.g some_int, num, number etc. 3. The range stipulated on line 11 is accurate, but you need to rethink line 12-15. The way it is, it's only testing the input with one number, the first number of the range you gave, which is 2. This is due to the return statements on lines 13 and 15, which end any further execution/iteration. Therefore, those lines are testing for ODD numbers, not prime ones. SOLUTION: Use your loop to check if any of the numbers in the stipulated range is a factor of the input. Immediately you find a factor, return False. But if the loop completes without finding a factor, then put a "return True" statement OUTSIDE the loop (TIP: that should be on line 17 ). am on the OOP lab now and when i click test code, it writes something about not been serializable...( i can swear my code is correct, coz i tested it with my python interpreter before uploading it) class BankAccount: def _init_(self, balance): self.balance = balance def Deposit (self, amount): self.amount = amount balance += amount return balance def Withdraw (self, amount): if amount < balance: return 'invalid transaction' else: balance -= amount return balance class MinimumBalanceAccount(BankAccount): pass |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 7:13am On Mar 23, 2016 |
enigmatique: And you've tried using Chrome? Both on a mobile device and on a desktop? i have used chrome and all other browser, but i haven't tried mobile..... Can you guys please post your solutions to the Labs here... |
Jobs/Vacancies › Re: Andela: IT Training And Job by omonosa25(m): 5:41am On Mar 23, 2016 |
enigmatique: Also had the same problem in the OOP Lab and solved it, just like you. But this problem is totally different from that one. In this case, the interpreter is not working at all for some reason, let alone give an error message!
So, have you done the Algorithm Lab? Good for you guys. But, am still having the NO CURRICULUM LOADED error. i have not been able to take the test. |