Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,585 members, 7,958,813 topics. Date: Thursday, 26 September 2024 at 02:36 AM |
Nairaland Forum / Science/Technology / Programming / Learning Programming. (my Nairaland Journal) (26327 Views)
Some Months Into Programming, My Excruciating Experience. / 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) (8) (9) (Reply) (Go Down)
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 8:25pm On Nov 28, 2020 |
Karleb:Concised and informative... I appreciate your help |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 8:25pm On Nov 28, 2020 |
naijasensei: Thanks bro... 1 Like |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 9:57am On Dec 17, 2020 |
Ok guys, I'm stuck in the while loop. Want it to print exactly what the for loop does
|
Re: Learning Programming. (my Nairaland Journal) by Semtu(m): 1:14pm On Dec 17, 2020 |
syluck: Your print statement is not under the while loop. |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 1:39pm On Dec 17, 2020 |
Semtu:Still wouldn't give me what the for loop would gimme |
Re: Learning Programming. (my Nairaland Journal) by realman42: 2:46pm On Dec 17, 2020 |
Well-done Start a project immediately U will learn faster Browse beginners projects |
Re: Learning Programming. (my Nairaland Journal) by Semtu(m): 4:20pm On Dec 17, 2020 |
syluck: Two things are wrong: 1. You have to print str for each iteration as you've done for the for loop, which is print(str[i]) 2. The print statement should come before i+=1 2 Likes |
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 4:33pm On Dec 17, 2020 |
Semtu:This is giving annoying while loop |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 4:42pm On Dec 17, 2020 |
KingAbdulazeez:Lol, u don't like using while loop? |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 4:45pm On Dec 17, 2020 |
Semtu:Thanks. It worked |
Re: Learning Programming. (my Nairaland Journal) by Semtu(m): 4:46pm On Dec 17, 2020 |
KingAbdulazeez: I don't get |
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 5:12pm On Dec 17, 2020 |
Semtu:the loop continues and didn't stop until I interrupted it. |
Re: Learning Programming. (my Nairaland Journal) by Semtu(m): 5:16pm On Dec 17, 2020 |
KingAbdulazeez: To avoid an infinite loop, you must always increment i (i+=1) till the condition which is (i<len(str)) can no longer be satisfied |
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 5:20pm On Dec 17, 2020 |
Semtu:I get it thanks for your time. |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 1:04am On Dec 18, 2020 |
realman42:Thanks man. But I need to finish up dictionary and text files I'm still learning 1 Like |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 2:26pm On Dec 18, 2020 |
Q. Write a program that asks the user to enter a password. If the user enters the right password, the program should tell them they are logged in to the system. Otherwise, the program should ask them to reenter the password. The user should only get five tries to enter the password, after which point the program should tell them that they are kicked off of the system. I used both loops, for and while loop See below
|
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 2:56pm On Dec 18, 2020 |
where do you find project like this.? |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 3:08pm On Dec 18, 2020 |
KingAbdulazeez:I'm using a pdf that teaches the basics of Python and gives exercises to work though it's old(2012 edition) but I just like it |
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 3:35pm On Dec 18, 2020 |
syluck:can you share the PDF or the link to download it. |
Re: Learning Programming. (my Nairaland Journal) by syluck(m): 4:24pm On Dec 18, 2020 |
KingAbdulazeez: www.brianheinold.net › pythonPDF A Practical Introduction to Python Programming - Brian Heinold Search 'python pdf' on Google. Scroll down to where you'll find what I posted above. Don't bother clicking on that link. |
Re: Learning Programming. (my Nairaland Journal) by KingAbdulazeez: 5:33pm On Dec 18, 2020 |
syluck:thanks |
Re: Learning Programming. (my Nairaland Journal) by naijasensei: 6:11pm On Dec 18, 2020 |
syluck: Great to see you are making progress. However, always remember proper indentation in your Python code, else you will get logic errors in your code (if you don't encounter syntax errors first). 1 Like |
Re: Learning Programming. (my Nairaland Journal) by naijasensei: 6:12pm On Dec 18, 2020 |
KingAbdulazeez: You can also search for "Think like a computer scientist 3", search for the Python version. 2 Likes |
Re: Learning Programming. (my Nairaland Journal) by Cherez: 5:57pm On Dec 19, 2020 |
naijasensei:The author is right; Variables are temporary data stores |
Re: Learning Programming. (my Nairaland Journal) by Nobody: 6:00pm On Dec 19, 2020 |
Following ur progress op. looking at people's code and trying to understand it is the best way to learn imo. I remember reading udemy-dl on GitHub and I remember reading this one too https://github.com/bocadilloproject/bocadillo Learnt how to use slots in python from that project. Some python tips for you. Install ipython on ur command line for easy code completions. Use tab to trigger code completions on ipython. (Works on jupyter notebook too) Inspect using dir() 1 Like |
Re: Learning Programming. (my Nairaland Journal) by Getsaved(m): 6:11pm On Dec 19, 2020 |
syluck: I developed interest in programming at a time but later lost interest because to be a successful programmer you need a good mentor. If I can have one here that can guide me I am willing to learn and become a programmer. Can you help? |
Re: Learning Programming. (my Nairaland Journal) by dhtml6(m): 6:14pm On Dec 19, 2020 |
Just in case you are trying to learn website development or programming especially for a beginner. You can send me a message. |
Re: Learning Programming. (my Nairaland Journal) by Wartsnigeria: 6:25pm On Dec 19, 2020 |
syluck: This is wrong sir, variables that starts with underscores are priavate variable hence you need to access them from methods and not directly, when you get to object oriented part of programming, you will understand. For now disregard them and don't use them while learning the basics. |
Re: Learning Programming. (my Nairaland Journal) by adeniyi3971(m): 6:40pm On Dec 19, 2020 |
I started full stack dev on Microverse too! Right now I’m still at the pre application stage via Odins project! Learning HTML CSS Java script And I’m loving it! Hopefully we’ll be able to work on a project together! For now, Let me go back to my laptop! 2 Likes |
Re: Learning Programming. (my Nairaland Journal) by MDBrand: 6:44pm On Dec 19, 2020 |
syluck:Are you attending classes or video tutorials? |
Re: Learning Programming. (my Nairaland Journal) by thatNigerian: 6:58pm On Dec 19, 2020 |
syluck: What learning resources do you use? |
Re: Learning Programming. (my Nairaland Journal) by rastaxarm(m): 7:16pm On Dec 19, 2020 |
Available
|
(1) (2) (3) (4) (5) (6) (7) (8) (9) (Reply)
Why Do Self Taught Programmers Over Exaggerate / How To Create A Shipping Tracking On Website.? / Build A Mobile App Without Knowing Any Programming Language or line of code.
(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. 37 |