Seun's Posts
Nairaland Forum › Seun's Profile › Seun's Posts
1 2 3 4 5 6 7 8 ... 547 548 549 550 551 552 553 554 555 (of 1139 pages)
All these small African countries. One day they are models, the next day they are fighting civil wars. |
Use http://wap2.nairaland.com/ if you really want to enjoy nairaland on your iphone. |
Yes, it's odd. Smart person. ![]() |
Is that the government's job? Investing in video games? |
Well. . . . .hard luckMy point is, if both the naira and the dollar are going down, then there's no point converting one to the other. Hence no capital flight. Unless US-based investors are selling off their investments and going back home. |
Do you think it's wiser to trust in the Naira than the dollar?If the US economy is on the verge of collapsing, then I would trust neither since the naira depends on our petrodollars. I would definitely not convert my naira into dollars. |
Because the crisis has gone global, many people in a global crisis rush to the developed markets, of which the US is the most prominent. Witness the strenghtening of the dollar.But that is very stupid of them. I don't think people with access to lots of capital can be that stupid. My guess is that governors have started looting again, and converting the looted billions into dollars. |
How can the US financial crisis lead to an increase in demand for the dollar? I am confused. |
Nigerian girls for you. They want to risk the benefits of crime without facing any risks. |
Missy B:Look, let's face it, nobody steals to please another person. When a thief is caught, he begins to look for excuses. "I did it for you" is one of the more retarded excuses. Stealing is not a form of "sacrifice". It's just stealing. |
I was just trying to help you man. |
Java is wordy. Perl is difficult to understand. Python is expressive and straightforward. |
I think Anette was definitely the best singer. |
@niyyie: Relax, the problem is under control. The moderator is dong his job. |
Thanks a million for your suggestion. I appreciate it very much. |
Currently, the Programmer section has more spam than the Webmaster section. How about that? ![]() |
Ok, I'll try it as soon as I can. |
You wrote: averagelength=round(float(sum([len(word) for word in sentence.split()]))/ len(words)) That's not Python. That's Perl in Python. Real Python is both clear and concise. ![]() PS: I don't think it works. |
Python is object orientedNo. There's a difference between using objects and being object oriented. Python uses objects. My problem is with a style of programming that languages like Java encourage. Where you cannot write a basic program without defining a class and inheriting something. I hate libraries that require inheritance. I believe in code modularity, but I only define new classes when I absolutely have to. In languages like Python, you tend to use lists, dictionaries, tuples, and modules where you would have had to define new classes in languages like Java. So, yes, I use classes. I use objects. Inheritance. But only when the problem actually requires them. When you develop large applications and the likes that businesses today demand,You don't need OOP for complex business applications. You need a well designed database. ![]() |
I'm pretty sure the word count example can be simplified in the same way. Python is not Java. ![]() |
You wrote: def AverageWord (sentence): words=sentence.split() len_words=len(words) if len_words==1:print 'You Just Entered a Word' else: total=0 for i in range(0,len_words): total +=len(words[i]) print total average=total/float(len_words) print 'The Averge Word length in The Sentence is',average That is Java Programming in Python. This is Python: def AverageWord (sentence): words = sentence.split() wordlengths = [len(word) for word in words] averagelength = sum(wordlengths) / len(words) print "Average Length:", averagelength |
It will be difficult for a Nigerian game to surpass the foreign games that Nigerians are pirating everyday, unless the Nigerian game includes elements that are distinctly Nigerian and gives people a stronger incentive to pay for it. |
Look, all politicians are the same. The game is not a clean game, because we (the followers) are so gullible. |
It's a lovely court case. I hope she wins. |
Why not just introduce this courses in the Police academy? Universities have nothing to do with police training. |
I think what we need to do is separate this thread into two sections: Python Programming and Python Language Tutorial func = lambda n:n*func(n-1) if n else 1 Can anyone interpret the above function? Another Tutorial: http://personalpages.tds.net/~kent37/stories/00020.html#e20can-be-learned-in-a-few-days |
If you need help with database design, or query design, let me know. ![]() |
I have lost faith in heroes. The unsatisfying confrontation between the Haitian and his brother did it for me. Here is a guy that is supposed to be an bloodthirsty African terrorist with Iron skin, yet he makes no attempt to attack our heroes or defend himself. The producers are creatively bankrupt. |
But Umana is the reason for this thread. Don't worry I'm dealing with him currently. Any recommendations for the moderator position? |
Can someone give me a link to the umana guy's profile? If he's causing so much trouble, I can just ban him? |
But 3D animation is video. |
1 2 3 4 5 6 7 8 ... 547 548 549 550 551 552 553 554 555 (of 1139 pages)
