Skip to main content

Posts

Showing posts from August, 2017

For Loop in python 3 : How to become a Python Jedi - Beginners Python Programming Tutorial - Part 7

I am back again with another part in the beginner python programming tutorial series. We will continue with "Loops" but this time we are going to learn how to use for loop in python 3. 


Difference between For loop and While Loop
A "For Loop" and "While Loop" have a common connection that both are looping statement, but major difference is that unlike while loop, a for loop gets executed a specified number of times.



We can break down the For loop into the following components(Refer to the for loop flow chart below).
for keywordvariable namecall to the range functioncolon operatorclause or block of code Hovering over the flow-chart
The above flow-chart is..well horrible I know, but I make my own drawings because I can't afford an artist. So, bear with me. In the above flowchart is a very basicy, laymanish representation of a for loop. The decision box contains the For statement along-with it's soulmate i.e the Range function. As long as the variable I …

Buy me a coffee

Hey fiends thanks for the love that you guys have shown me. I am overwhelmed by the daily visits that I get on my blow and my youtube channel.

I usually work at night to create and share programming tutorials and stuffs on my blog thecodingproject.blogspot.com & youtube channel https://goo.gl/iYQAnn  . A nice hot cup of coffee from you would be great to get me going. Now it's perfectly fine if you don't want to buy me a coffee, you can just stop by to say hello.

Collatz sequence python : Monday fun with Python

Hello everyone. Today is Monday..well not a big deal and I know everyone knows today is a Monday. Like you I'm not a big fan of Monday, although nowadays I'm waiting eagerly for this day of the week as I get to watch a Game of Thrones episode on this day and I'm sure most of you can reciprocate the same feeling. The only thing I hate the most is the long wait till Monday night till I return to home from office and get to watch that episode for which I wait for one whole week and here I am in office waiting for the day to get over soon.

The plan To kill the time I do one of the thing that I love the most. Yes, you guessed right? I code. So, I decided to fool around some python programming code to kill the boredom. Without much ado let's code :) I decided to device a python program that would help me to devise a "collatz sequence" In case you are thinking what a "collatz sequence" is then dive into this link here.

For more understanding on python check…

Where are the new Python Blogs?

Hello friends I welcome you back after a long long time. It's been nearly 3 weeks since I have posted any blog post here or any new tutorial videos on my youtube channel. Recently I have been involved in many of my pet projects. One of them being studying machine learning, I am a geek at heart and I love to learn new tech things and machine learning is one that ha got me hooked and this is the reason I am spending most of my time studying ML. Meanwhile I am also trying to learn and android development and trying to build an app on my own which is again a totally new field for me and it's taking up a very large chunk of my time not to mention my full time job.

Then there's my youtube channel for which I am trying to develop the best content for you guys and doing this involves a long planning, building the content, editing the videos etc. and this take a lot of time as I am able to devote 30 mins daily at the best to my youtube content creation and that explains the very l…