Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,795 members, 7,956,034 topics. Date: Sunday, 22 September 2024 at 09:55 PM

Nakaofficial's Posts

Nairaland Forum / Nakaofficial's Profile / Nakaofficial's Posts

(1) (of 1 pages)

Programming / Re: Pythonists Please Help!!....def Functionname(self)...confusing Me.. by nakaofficial(m): 8:21pm On Apr 29, 2017
You don't need to use self in module, you can simply use the variable amount instead.

Below is a sample code:

def withdrawal(amount):
if amount > account_balance:
print('sorry; insufficient balance')
else:
account_balance -= amount
return account_balance


def deposit(amount):
account_balance += amount
print('you just deposited, ' amount ' and you new balance is' , account_balance)
return account_balance


NB: saving the above code as bank.py

>>> from bank import withdrawal, deposit

account_balance = 5000
x = int(input('please enter deposit amount:'))
>>> please enter deposit amount: 3000


withdrawal (x)
>>> 2000
OR
deposit (x)
>>> 8000


Hope this helps.
Webmasters / Re: Webmasters, Which Nigerian Web Hosting Company Is Reliable? Pls Help! by nakaofficial(m): 9:26pm On Feb 26, 2016
I personally prefer http://www.nakahost.com they have served me well and very reliable, with excellent customer service.
Family / Re: Why I Don't Want My Brother To Get Married To Her by nakaofficial(m): 7:42am On Jan 18, 2016
If you don't tell your brother now, what happens when he finds out after marriage? He will not be happy with you for keeping such away from him. Please inform him, it seems he feels the same way as you towards the supposed inlaw.
Politics / Re: Numbers Of Federal Workers By State Of Origin-- Bureau Of Public Service by nakaofficial(m): 8:45am On Dec 12, 2015
murtalaa:
Za'ayi bura uba kenan.

So who are the real parasites and leeches now, huh?


We only have North, South West and South East; with majority of Hausa, Yoruba and Ibo.
Politics / Re: Numbers Of Federal Workers By State Of Origin-- Bureau Of Public Service by nakaofficial(m): 6:21pm On Dec 11, 2015
porshuch:
yes o ! I don't want Biafra, with what I hv acquired already in Nigeria. Abeg I no fit start my life afresh becos of this Biafra. Nke mmadu ibidokwa uwa Na isi maka Biafra.

I will say it again,
Biafra agitators are ppl without bearing.( ndi owuite( broke ppl))

Rich man, actualisation of Biafra does not mean you will lose your properties in Nigeria, you can even remain there if you want, the only thing that changes is the government.
Software/Programmer Market / Re: Python Developer by nakaofficial(m): 7:59pm On Jun 15, 2015
Am an experienced python developer, you can contact me.

1 Like

Politics / Re: Gov T.A Orji, Metuh Force Abia Returning Officer To Reverse Cancellation by nakaofficial(m): 10:47pm On Apr 12, 2015
modath:


I thought PDP was good for lagos? Why not Abia?

Grow up, it's not about parties, it's about individuals.

3 Likes

Webmasters / Re: I Need A Webmaster To Design A Website For Me by nakaofficial(m): 10:46am On Apr 12, 2015
mikeoh:
I want to design an educational site, in which i intend providing past exams question papers like WAEC, NECO to student free of charge and also to give updates about schools activities.
If you think you can build such a website that will be mobile friendly, easy to navigate with nice interface from ur imagination pls contact me on 075 or u can whatsapp me

You can contact me on: 08098115100 OR info@nakasoft.com.ng and it will be done.
Programming / Re: Please Help Me Solve This C++ Question by nakaofficial(m): 4:34pm On Feb 22, 2015
/ / using function approach
#include <iostream>
using namespace std;

float temp(float f) {
float c = (5.0/9.0)*(f-32);
return (c);
}

int main()
{
cout << "Enter temperature in Fahrenheit:";
cin >> f;
cout << f << "Degree Fahrenheit =" << temp(f) << "Degree Celsius";
return 0;
}
Politics / A Nigerian Youth Writes A Letter To Buhari by nakaofficial(m): 9:33pm On Jan 22, 2015
A NIGERIAN YOUTH WRITES A LETTER TO BUHARI
Sir, let us examine your service records. I consider your generation a very privileged one, indeed. In 1975 at the age of 33, you were appointed the Military Governor of the North-Eastern State, present day Borno & Yobe states.

In 1976 at the age of 34 you became the Minister for Petroleum and Natural Resources. In 1978 at the age of 36 you became the Chairman of the Nigeria National Petroleum Corporation (NNPC).

Today the reverse is the case. Most Nigerians at age of 35 are still unemployed and still living with parents. Many are still not married. During your time you were already Governor at this age.One major reason for this unfortunate turn of events is that many elders like you have refused to voluntarily handover the baton to the next generation. Life should be a relay race where one runs his race and hands over to the next. In Nigeria many elders like you have run their races and are still holding on tenaciously to the baton.

But Sir, I have an important question here for you. The question is simple, MUST YOU SERVE NIGERIA AS A PRESIDENT ONLY? IS THERE NO OTHER CAPACITY YOU CAN SERVE US EXCEPT THE PRESIDENCY?

It is very erroneous to imagine that you can only serve Nigeria only in one capacity. During the regime of late General Sani Abacha, you accepted the appointment to serve as the Chairman of the then Petroleum Trust Fund PTF.

The general opinion was that you served faithfully in this capacity. Well done Sir! But you never asked Abacha to vacate office for you as your former subordinate in the army. Never! In fact that would have been a dangerous move,
if not suicidal. Rather you served faithfully under your former junior in the army. Sir, imagine if you take on another job like the Chairman of EFCC or ICPC or NDLEA.Nigerians actually need you to serve in one of these capacities much more than they need you in the Presidency. Mere mentioning your name as Chairman of EFCC would drive many corrupt men underground. But you wouldn’t . Either the Presidency or nothing. When are you going to handover to the next person? It is either you do it voluntarily or risk disgrace at the polls. In 1983 at the age of 41, you became the Head of State.

Most Nigerians in my age have not had the opportunity to serve, but we still remain committed to the Nigerian project. You should rather be graceful to God and to Nigerians for the numerous opportunities that have come your way to serve Nigerians. Others are begging for just one opportunity to serve. Sir, you have to
accept the stark reality on ground that you have served your time already.That is life for you. You run the race, you handover the baton for others to run, you cannot
hold on to the baton more than is necessary. As a former head of State you are already a member of the Council of State Meeting. You have every avenue to channel your views across. You don’t necessarily have to be in a frontline role, you can serve in an advisory capacity. That is still service.

In conclusion, let me state that the greatest beneficiary should you emerge candidate of the APC would be President Jonathan. It is crystal clear that you cannot defeat President Jonathan in a free, fair and credible election, even in Katsina State.Sentiments aside, Jonathan would cruise to a landslide victory should you emerge candidate of the APC. In fact many political analysts believe that President Jonathan wants you to emerge as the APC flag bearer in order to secure a cheap victory. In fairness to you, any of your Children would pose a serious challenge to Jonathan more than yourself.

I do not see Nigerians electing a 72 year old former Head of state to lead us in this Digital era. With due respect to you Sir, you belong to the Analogue age and therefore, will not fit in as president in this digital era.This is the blunt truth. Please do not enter the Guinness book of world records on a negative note. Losing four consecutive Presidential election would not augur well for your reputation. It is in your best interest to assume your position as an elder statesman and allow others to serve. Nigeria does not belong to you alone. It belongs to us all.
Celebrities / Re: Indian TV Presenter Slapped Live On Air (Picture & Video) by nakaofficial(m): 12:09pm On Dec 02, 2014
freezyprinzy:
i can c dat God has given u d authority 2 judge evil 4rm good pathetic mofo..God have mercy on u.#


You simply refuse to see the SOME in his post or you prefer the part you quoted
Programming / How To Be A "Good" Software Engineer by nakaofficial(m): 10:08am On Oct 19, 2014
To be a good software engineer i would suggest you to do the following:

1)Become a master of any one programming language and jack of few other popular programming languages(This will help you to understand programs written by someone else in other language than the one which you mastered).

2)Be a part of some open source projects. You can check out GitHub, Sourceforge etc download some project and give your input. After gaining enough knowledge you can also upload an open source project initiated by you. Google prefer such people rather than bookworms.

3)Play active role in Q&A sites like Quora, StackOverflow etc. Share your knowledge and thus improve your skills.

4) Go for Algorithm Courses. You can code for 2 years and become a good programmer but just 1 year course in Algorithm can make you a great programmer. A good software engineer is a master in algorithms and mathematics.

5)Take part in online coding contests. You can visit sites like codechef, topcoder, codejam by google, techgig, hackerrank etc

6)Last but not the least, dedication.

1 Like

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