Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,624,181 members, 6,118,046 topics. Date: Monday, 25 January 2021 at 03:03 PM

Learning Programming. (my Nairaland Journal) - Programming (5) - Nairaland

Nairaland Forum / Science/Technology / Programming / Learning Programming. (my Nairaland Journal) (15061 Views)

After Learning Programming What Next?? / Avoid The Hard Ways Of Learning Programming / Help I"m Loosing Intrest Fast In Learning Programming. (2) (3) (4)

(1) (2) (3) (4) (5) (6) (7) (Reply) (Go Down)

Re: Learning Programming. (my Nairaland Journal) by Silverpurple: 7:22pm On Dec 19, 2020
Good platform...let share exercises. Can anyone share a code to reverse a number (integer) in not more than two python lines. Preferably 1 line of code.
Re: Learning Programming. (my Nairaland Journal) by olaniyi0(m): 7:22pm On Dec 19, 2020
I'm also learning programming, wanna link up on discord?
Re: Learning Programming. (my Nairaland Journal) by BigDawsNet: 7:27pm On Dec 19, 2020
This is wonderful

1 Like

Re: Learning Programming. (my Nairaland Journal) by Petersamuel8(m): 7:31pm On Dec 19, 2020
nice thread
Re: Learning Programming. (my Nairaland Journal) by Tosyn007(m): 7:31pm On Dec 19, 2020
I have also being learning programming as a means of career change, but am so far into web development...and am currently learning JavaScript. One thing I've found amazing is how..codes that usually look like am reading hindi is suddenly becoming something I can understand, relate with, code myself...I mean the process of moving from that "wetin be all this rubbish sef" stage to a = b stage is just amazing fun. I'll delve into python afterwards...cos I've learned that it is the language for A.I and that is why I've moved into programming in the first place. Let's all have fun

7 Likes

Re: Learning Programming. (my Nairaland Journal) by Silverpurple: 7:33pm On Dec 19, 2020
Silverpurple:
Good platform...let share exercises. Can anyone share a code to reverse a number (integer) in not more than two python lines. Preferably 1 line of code.

This is my best attempt.

A = 123456

Code:

ReverseA = int("".join([ str(A)[i] for i in range(-1, (-1*len(str(A))),-1)]))

Note: This is not pythonic as it is not readable. But it should do the job in one line.

1 Like

Re: Learning Programming. (my Nairaland Journal) by Fidelismaria: 7:35pm On Dec 19, 2020
Omo!!! JavaScript just dey javanize me ooo, keep pushing bro.
Re: Learning Programming. (my Nairaland Journal) by codeFalcon(m): 7:38pm On Dec 19, 2020
I am here to learn as well, a whatsapp group will be good. Op consider this. Thanks


Btw

I code python, javascript and php
Re: Learning Programming. (my Nairaland Journal) by Mrmourinho: 7:39pm On Dec 19, 2020
syluck:


Greetings too.

I started learning Programming using python programming language. There are many others but if you like python, then u should begin with it. Below is the link to a thread of python video tutorials. It's quite concised and easily understandable.

https://www.nairaland.com/4945611/thread-tutorial-python-programming

Do you have the link for JavaScript learning, I prefer JavaScript, Don't just know why...Buh which one do u think it's advisable for me to learn? Js or python?
Re: Learning Programming. (my Nairaland Journal) by Plut01: 8:03pm On Dec 19, 2020
.


Everything on the first page look like heavenly abracadabra to me cheesy


Ayam not dowin againcheesy


.
Re: Learning Programming. (my Nairaland Journal) by Honduras01: 8:23pm On Dec 19, 2020
please, programmers in the house, what difference (s) does it make using pycharm as my IDE instead of the one that came with shell.

I want to continue my Python learning. So I saw pycharm on YouTube
Re: Learning Programming. (my Nairaland Journal) by GreaterFuture(m): 8:30pm On Dec 19, 2020
Wrote mainly in Java and C++/C, those days in School as an I.T Major
Re: Learning Programming. (my Nairaland Journal) by GreaterFuture(m): 8:34pm On Dec 19, 2020
can you develop iOS and/or MacOS Apps and with Python?
Re: Learning Programming. (my Nairaland Journal) by naturefellow(m): 8:40pm On Dec 19, 2020
syluck:

Lenovo product grin
Lenovo Thinkpad x1 Carbon. Quite obvious!
Re: Learning Programming. (my Nairaland Journal) by Nobody: 8:52pm On Dec 19, 2020
syluck:
This is my problem. I hope this doesn't get deleted.

I've been trying to run some codes using while loop on python. At the end of every false trying to make it true, it keeps running the false even after I might given the command when it's true.

Below is a screenshot
boss man good day , can you please share the names or links to the resources you are using to learn this ,thanks
Re: Learning Programming. (my Nairaland Journal) by zeemahn(m): 8:53pm On Dec 19, 2020
Following.

Meanwhile, one of the major challenge I have been facing since I started this journey is iteration. I have tried several times to understand iteration to a decent level but have not been successful.

I will appreciate a link to any tutorial that simplifies it to an in depth level or better still, some kind of nice explanation on this thread if OP will not mind.
Re: Learning Programming. (my Nairaland Journal) by Drella(m): 8:54pm On Dec 19, 2020
Mrmourinho:

Do you have the link for JavaScript learning, I prefer JavaScript, Don't just know why...Buh which one do u think it's advisable for me to learn? Js or python?

JS is mainly for web dev.Mostly frontend and can be used for backend too if you use its nodejs framework.

Python on the other hand can be used for variety of things like A.I,Data Science,Mobile app ,game development and many more.
It can also be used for web dev but backend only.You will need to learn Python with django framework in order to use it for web backend .


So it depends on which part of programming you are going into.
Re: Learning Programming. (my Nairaland Journal) by Drella(m): 8:57pm On Dec 19, 2020
NuclearHead:
boss man good day , can you please share the names or links to the resources you are using to learn this ,thanks

Use mosh hamedani's python course on youtube.
Also use "Automate the boring stuff with python" its a pdf...
"Learn python the hard way"... A pdf too.

This coupled with the answers he will give you will do you good.

3 Likes 1 Share

Re: Learning Programming. (my Nairaland Journal) by Drella(m): 9:00pm On Dec 19, 2020
Plut01:
.


Everything on the first page look like heavenly abracadabra to me cheesy


Ayam not dowin againcheesy


.

This is because you are not yet familiar with it.

Start learning the basics and work your way up.Very soon,it will look comprehensive to you.
Re: Learning Programming. (my Nairaland Journal) by opeyehmmy(m): 9:14pm On Dec 19, 2020
Re: Learning Programming. (my Nairaland Journal) by jossydee1: 10:02pm On Dec 19, 2020
I'm a Javascript developer.
Precisely a React.js developer.
MERN stack

I don't mind hooking up with other programmers and I'm ready to tutor anyone who's interested. Here's my WhatsApp 08069762478.
Re: Learning Programming. (my Nairaland Journal) by Coinbased: 10:14pm On Dec 19, 2020
Oh
Re: Learning Programming. (my Nairaland Journal) by MacDodger: 10:15pm On Dec 19, 2020
Honduras01:
please, programmers in the house, what difference (s) does it make using pycharm as my IDE instead of the one that came with shell.

I want to continue my Python learning. So I saw pycharm on YouTube
pycharm makes you more productive
Re: Learning Programming. (my Nairaland Journal) by Honduras01: 10:32pm On Dec 19, 2020
MacDodger:
pycharm makes you more productive

okay
Re: Learning Programming. (my Nairaland Journal) by ambitiouschap17: 10:33pm On Dec 19, 2020
Etinosa1234:


I used Java... U can change it to python syntax

Btw... Keep posting... I'm using it to brush up mine

Hello boss, which app is this
Re: Learning Programming. (my Nairaland Journal) by Jobia(f): 11:16pm On Dec 19, 2020
Silverpurple:
Good platform...let share exercises. Can anyone share a code to reverse a number (integer) in not more than two python lines. Preferably 1 line of code.
reverse_number = int(str(number)[::-1])

1 Like

Re: Learning Programming. (my Nairaland Journal) by melodyogonna(m): 12:03am On Dec 20, 2020
syluck:
If you ask me, I will tell you that programming is all mathematics sad but in this case, a deep and practical mathematics. This practical aspect of it makes it more fun and exciting to work on. grin
It's logic not mathmatics

1 Like

Re: Learning Programming. (my Nairaland Journal) by Silverpurple: 12:23am On Dec 20, 2020
Jobia:
reverse_number = int(str(number)[::-1]))

Pythonic
Re: Learning Programming. (my Nairaland Journal) by Jobia(f): 5:23am On Dec 20, 2020
Christinme006:
I think this works fine I used my pydroid for it and it came out without any errors

num = str(123456789)
print(num[::-1])

I tried the one @Jobia posted but was getting a typeerror saying that 'int' object is not subscriptable tried checking how to resolve the errors online and the only reasonable answer I could get is that int objects can't be iterated over unless you cast it to string.

But I think java's stringbuilder and stringbuffer class has a .reverse() used for handling such cases smiley smiley
yeah I added an extra closing parentheses in error. I've modified it now..

1 Like

Re: Learning Programming. (my Nairaland Journal) by SonyaSpence: 5:29am On Dec 20, 2020
If you wanna learn solidly and properly structure your codes from the onset, you'll need to build that culture with practice. You can use this website to practice your algorithm skills. You can as well evaluate how well your code is optimized there by taking their various tests.

"https ://app. codility . com/programmers/lessons/"

*remove the blanks in the link

(1) (2) (3) (4) (5) (6) (7) (Reply)

Microcontroller Programming Corner / Software Developers Could Save Nigeria After Oil - Mark Essien / Hope For C++ Newbies: Gui Toolkits

(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 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 83
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.