DEV Community

Khaled Mohamed
Khaled Mohamed

Posted on • Edited on

Programming for everybody (getting started with python) course summary

Hi!

I hope you're all OK

so let us begin summarizing Programming for Everybody (Getting Started with Python) course

Before you read this summary there's some points you should know:

1- English IS NOT my native language so you maybe face some writing mistakes or another kind of that stuff.

2- I will not tell you everything about this course I will just SUMMARIZE it, So if you didn't find some condition or function here then that doesn't mean it's not explained in the course

3- It's my first experiment with summarizing courses so my summary will be awful, ('m not joking) so if you found another summary for this course just tell me in the comments

Now after all that bla bla bla let me begin

Week 1

In this week the instructor will welcome you and explain to you some basic things about hardware, python and programming in general, So ... let's go to the next week.

Week 2

This week is about how will you use python in this course, where will you write python code and all that stuff

Week 3

Your first assignment: "Hello world"!!

Week 4

Some expressions and assignments

Week 5

Conditional statement

Week 6

Functions

Week 7

Loops and iteration

Detailed notes

  • try - except: the code after "try" will be tried if it works, great, if not: the code after except will work. in other words: you give the computer alternative code to run if the first code didn't run
age = input("what's your age?")

try:
    Int = int(age)
except:
    print("error, please enter a number")
Enter fullscreen mode Exit fullscreen mode
  • "elif" is a condition which used in a function to add another question without building a new block or in other words " without making a new function". another thing: if elif condition is true then it ignores the next whole conditions in its function.
  • "continue" stops the current iteration and goes to the top of the loop again
  • "Break" when you type it in a function body it skips the remaining code lines in the function body or skip the remaining function to the next line after all the function immediately
  • None is a kind of variables has only "None" variable like boolean (which has true and false) Warning: You MUST write "None" not "none"
smallest = None
Enter fullscreen mode Exit fullscreen mode

finally you reached the end of this post so if you reached these words thanks a lot for reading my summary. Please give me a feedback so I can improve my summaries in the future!
see you in another post (or summary I don't know)

Top comments (0)