Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,608 members, 7,809,224 topics. Date: Friday, 26 April 2024 at 05:58 AM

Syluck's Posts

Nairaland Forum / Syluck's Profile / Syluck's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 11 pages)

Programming / Which School To Best Apply For Computer Science In Nigeria. by syluck(m): 2:41pm On Feb 22, 2021
Hello guys,

It's my three months of learning programming language. Never thought I will be this enthusiastic student software engineer this far.

There's this issue I'm having right now. It's about the institution that will accept me to read computer science.
I'm not likely going for universities because majority of them are after "Chemistry", "Physics", "Biology" etc FOR JAMB COMBINATION.

Literally, I wrote Jamb last year hoping to read "Cooperative Economics" in Unizik. I scored 230 and my jamb combination is "Economics", "Mathematics" and "Government". Still last year, I came across programming and the beauty in it and I lost interest totally in my initial course. Like every other programmers, I also need this certificate in computer science.
The problem is, I was never a science kid in secondary school and I don't have any related science subjects in my WAEC except Agriculture. And most institutions are after those science subjects and combination.

Like I said, I don't intend going for universities because I know it's practically impossible for them to admit non-science students into the department of Computer Science.
I just need to know if there's any polytechnic that'll accept me with my jamb combinations and SSCE result.
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:09pm On Feb 10, 2021
Karleb:
@syluck

This is what I talked about. I guess @naijasensi just buttressed it

Checking for dulicate question will not be necessary as the randint function worked so well for tha range
Thanks for this. I appreciate....been waiting on it.
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:09pm On Feb 10, 2021
naijasensei:


Hi, good to see you are making progress. However, you are "hardcoding" the two numbers and their respective products. I can think of one way to make the program use random numbers:
- Create a list of numbers, probably from 1 to 12.
- Start your for loop
- Randomly select two numbers from the list, then assign each number to a variable.
- Use the variables to form your question during each pass through the loop.
- Evaluate the answer supplied by the user
- End your loop after 10 iterations.

Try this approach, and do not hesitate to ask questions.
Thanks for your input, I do like the way you elaborate. I appreciate.

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 2:21pm On Feb 10, 2021
This is my code.

I will love to know if there's another way this program could be coded.

Cc:
Karleb
Naijasensei
Semtu
Yusman14

2 Likes

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 10:30am On Feb 10, 2021
MackyNaija:
Question 9:
I merged your lines 3, 6, and 9 into two lines. Your line 3 nearly blinded me. cheesy

I didn't like your solution line 'tip amount' running into a thousand digits grin so I looked around on the internet for something suitable and got my code lines 7 and 8 and this reduced my decimal places to two [Endeavor to check the internet for tips].

Now a problem, couldn't format my print statement as one line of code as the 'decimal formatting' didn't allow me to mix both.
Too tired from a long work day to task my brain, I will leave that for you to solve - try formating your 'tip amount' and print all as one line so we can see.


I used the format function here, same line

Modified* I made a mistake in printing the "tip needed" as "$78" instead of "%78".

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 9:59am On Feb 10, 2021
MackyNaija:
Syluck, I just started learning too and I tried to solve the question you did to practice and see if I could do it differently.

To your question 8, I merged your code lines 7, 10, 11 and 12 as one.
For the result, I used a formatted string to keep it s3xy. cheesy

Keep pushing, we are following, I'll find time to see if I can do your question 9 differently.

Lol, yours is more clear and easy though. But there are many path that leads to the stream, innit?? Lol
I like how you merged everything into the list instead of appending. I never thought of that tbh, it was just "append" that came through my mind. The format is sweet just that I don't really use format. I like explaining from the scratch when using the print() built in function. I will try using the format function.

I think I will be dropping more questions here, so that you could try them as well grin

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 4:54pm On Feb 09, 2021
The question. The code. The result.

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 4:52pm On Feb 09, 2021
The question. The code. The result

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 9:57pm On Feb 03, 2021
Yes. I can code!!!!!

3 Likes

Programming / Re: Web Development Study Partner Needed by syluck(m): 7:17pm On Feb 02, 2021
What about us creating a WhatsApp group Strictly for those who intend learning programming. Then we can have few programmers that will guide those who are lost or seriously in need of explanations....
Sports / Re: Lionel Messi's Monstrous €555 Million 3-Year Barcelona Contract by syluck(m): 11:27am On Jan 31, 2021
babatee90:
No wonder Barca are on the verge of bankruptcy
Not you putting the blame on Messi. Failed

6 Likes

Sports / Re: Lionel Messi's Monstrous €555 Million 3-Year Barcelona Contract by syluck(m): 11:26am On Jan 31, 2021
Lionel Messi deserves that penny and more!!!!

23 Likes 1 Share

Sports / Re: Lionel Messi's Monstrous €555 Million 3-Year Barcelona Contract by syluck(m): 11:25am On Jan 31, 2021
H
Programming / Re: How I Became A Software Developer And Got My First Job Within A Year by syluck(m): 1:51pm On Jan 28, 2021
Karlebolu:


5 years flutter experience when flutter itself is not upto 5 years.
lol and nothing like his personal website or portfolio to match
Programming / Re: 5 Projects A Junior Developer Should Have In Their Portfolio To Get Hired Fast by syluck(m): 6:34am On Jan 18, 2021
Thanks for this
Programming / Re: My Web Development Journey by syluck(m): 7:01am On Jan 17, 2021
grin
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 3:29am On Jan 13, 2021
naijasensei:




I agree with what @Karleb said. Try and focus on one thing so that you can master it. You mentioned web development, which is a path or route. AI, Cyber Security, Machine learning, Mobile App development, and Data Science are some other paths.
To continue using Python for web development, there are two major frameworks you need to get familiar with - Django, and Flask. Django is a full fledged, everything (batteries) included framework, that can be used to develop all manner of web apps. Flask on the other hand is a micro framework, which is best for developing APIs.

In the web development domain, there are two(2) main areas - front end development, and back end development. Back end development takes care of interactions with your web server, interactions with your database server, and interactions with your server environment. Front end development basically has to do with things that happen in the browser, and the User Interface.
Python is used for back end web development, other popular alternatives are PHP and NodeJS. I personally use PHP for web development for two(2) reasons: it was the first web development language I learnt, and web development is PHP's primary domain. I won't bore you with pointless arguments for and/or against Python, PHP, and NodeJS. I believe in using the best tools for the job, and I use whatever gets the job done.
To round off your skills in web development, you will need to get a solid grasp of HTML, CSS, and Javascript for front end development. You can then decide which type of development you prefer, or you can combine the two to become a full stack developer.

Thanks man
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 3:29am On Jan 13, 2021
Semtu:


Good job man. If you are confident in your python skills already, then feel free to dive into any of the numerous career paths in python. Just try and focus on a single thing. Now you said your initial idea was to make use of python for web app development. Well, its best you stick to that for a start.

Web app development is a very nice field and catch fetch you quick money much faster than learning AI or Cybersecurity. Now, first thing is to learn web development. To do this with python, there are two very popular frameworks commonly used: Flask and Django. I'll recommend Flask for beginners since it's a mini-framework, less sophisticated than Django, making it easier to understand. Even before going into Flask, learn HTMl, CSS and Bootstrap for your frontend. If you want to be strictly a backend developer, still learn a bit of frontend, it's very important. After learning all the above, then you are already a competent web developer.

Going further, if you want to push you web development career up the notch, you'll start looking into AI and Cybersecurity. Most websites nowadays makes you of some form of AI algorithm. For instance, if you want to develop an app like audiomack, you'll need sophisticated AI recommender systems. Also cybersecurity comes into play.

To round it off, everything is interlinked. I'd recommend this journey for you;
1. Learn Frontend ( HTML, CSS, JS)
2. Learn Backend and linking up with the frontend (with Flask or Django frameworks )
3. Learn AI to boost your web development prowess.
4. Then learn Cybersecurity as the topping on the cake.

I appreciate brother
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:04am On Jan 12, 2021
Karleb:
@syluck

Be candid with yourself, there are a lot of things you've not covered in python and many of these are what you'd encounter in other programming languages.

So it's better you pick a good python book and read it extensively before thinking of moving to the next big thing, you can't jump guns with programming. If you do, you'd still go back and relearn what you skipped.

AI, cyber security and web development are three different routes.

After honing python basics, then the next thing to learn is Django. It's python most popular web development framework.
Thank you. I appreciate
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:03pm On Jan 11, 2021
naijasensei:


Excellent explanation. cool

@syluck, I hope you have read this. The screenshot you posted is simply referring to optional parameters (which always have a default value, and can be omitted), and compulsory parameters - which must always be provided. In the screenshot, the 'text' parameter is the only compulsory parameter, while the others are optional.

P.S. What's with returning a dictionary though? I suspect you are probably mixing somethings up.
Bro, I want to ask you this question, it's been bothering me for a while.

I'm on the edge of becoming a pythonista real big. One big question I'll like an answer from a second/third party is, After Python what next?
Like, after I'm done learning python, what should I involve myself with next? Is it learning frameworks like node.js, PHP, JavaScript, Django etc.
For the record, I solely learnt python so that I can be creating websites(website like Spotify, pandora, audiomack, onlyfans etc) and apps. Now, I came across things like AI, and cyber security which I'll like to be an expert in. So I'm just confused on what next I should indulge in.. I'll really like an elaborated and explicit explanations on this.
Thanks

Cc:
Karleb
Semtu
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 6:40pm On Jan 11, 2021
Starkid3010:
yeah if you guys want it.. You can drop your numbers here then I will add you to the group
Well, I don't mind joining.

0.8.1.0.8.8.3.6.1.0.2 WhatsApp contact
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 10:33pm On Jan 09, 2021
Starkid3010:
thanks for this boss I really appreciate. I will get it.
I just started python also maybe like 3 weeks, and I am done with papi' tutorial.. (I don't know why he didn't complete it)
What about you?
Well now I am using w3school and a top course from udemy...


Well I don't know if we can create a whatsapp group for python learner that will really help us alot or maybe if you're on one you can help me with it...
It's not easy learning this stuff alone!!
I'm not on any WhatsApp group. I've been searching also for it... I don't think I want to be on any one...

Yeah it's not easy learning it alone, all u have to do is keep pushing. When it's 'too much' for the brain, close everything, relax, take a rest, you can make it long enough. Then suddenly think about being a bigger programmer in the next 8 months, creating things unimaginable. This alone will push you to keep learning. It has been helping me. And the sweetest of it all? When you are able to run that code that has been bothering you.
It's my second month of learning, I'm working in a supermarket, and it hasnt been easy for me. I've improved than I was when I started.
This forum has helped me a lot to decipher some algorithms bit by bit. You can create ur own thread and ask questions when lost. To become a better programmer, u must ask questions and practice.

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 2:44pm On Jan 09, 2021
Starkid3010:
please what's the name of this website I might find it useful also
Just search "python programming language pdf"

Then the picture below is the pdf I'm using

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 2:30pm On Jan 08, 2021
yusman14:
To my own beginner understanding, after defining the function,the function takes/accept input known as parameters..Text is the only arbitrary parameters in the function,others are optional parameters which also indicates that the function can have default argument apart from "text"(which the user have to always enter)..others will be printed at default because they are optional parameters...if you return and print,you have to enter at least an argument for "text" parameter because it is not fixed to any value..other parameters can get values from users too but it is not compulsory for the user to enter a value because it is fixed..
the most important thing you should know is that OPTIONAL PARAMETERS COMES AFTER REQUIRED PARAMETERS.."TEXT" IS A REQUIRED PARAMETER HERE ..
I hope you understand...
This program will definitely return a dictionary if you print it .

Thanks bro. I appreciate

1 Like

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 2:30pm On Jan 08, 2021
naijasensei:


Excellent explanation. cool

@syluck, I hope you have read this. The screenshot you posted is simply referring to optional parameters (which always have a default value, and can be omitted), and compulsory parameters - which must always be provided. In the screenshot, the 'text' parameter is the only compulsory parameter, while the others are optional.

P.S. What's with returning a dictionary though? I suspect you are probably mixing somethings up.
Thanks.

Dictionary? I'm just running some examples codes while learning
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 1:08pm On Jan 07, 2021
naijasensei:


Text files are simple files which lack the special formatting available in files produced by word processing software. As text files are popular and ubiquitous, it is only natural that every programming language has a way to access and modify text files. Other popular (universal) formats you should be interested in are JSON, XML, and CSV.
In python when you open a file, you create a resource object (which points to the file), with that resource you can now decide on the mode you want to open the file in (read only, write only, append, read/write, etc). From here you can then get the contents of the file, or even insert content into the file.
It is a broad topic, so I can't cover everything here.
Thanks.

Please can you explain more about this below... If possible, you can code it for better understanding

Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 8:38am On Jan 05, 2021
naijasensei:


Yes, while loops are not as straightforward as for loops; but there are many instances where you have no choice but to use a while loop.
The main thing to remember about while loops is that you have a condition that must be monitored, and the condition must be evaluated at the end of each iteration through the loop in other to prevent an infinite loop.

while <condition>:
<statements>
<update condition>

Thanks.
Bro can u please in brief explain what' "Text file" in python is all about. I'm lost in that topic
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:56pm On Jan 03, 2021
Karleb:
@syluck
Thanks cool
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:56pm On Jan 03, 2021
onecoder:
@syluck
what website are you using to learn?
Ahhhh angry
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:55pm On Jan 03, 2021
naijasensei:


Hi, peruse the code in the attached screenshot.
While loops can be so confusing
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 7:54pm On Jan 03, 2021
onecoder:
@syluck
what website are you using to learn?
A pdf I found on the internet
Programming / Re: Learning Programming. (my Nairaland Journal) by syluck(m): 12:06pm On Jan 03, 2021
Okay I've tried running this code to my best of understanding. But I'm not getting what I need in the question.
I've successfully been able to code the question 1, going to question 2, it's just giving me an empty list.

Cc:
Naijasensei
Karleb
Semtu

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 11 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. 58
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.