Skip to content

I2S9/Python-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CS50’s Introduction to Programming with Python

Summary


0. Functions, Variables

Function = action or a verb that let us do something in the program. Generally speaking, any language is coming with some predetermined sets of very basics actions or verbs that a computer already know how to do for it.

Example :

print("hello word")

Bug = mistake in a program, it can takes many forms, problems for us to solve.

print("xxx") --> affiche la chaîne de caractères xxx input() --> attends qu'un utilisateur entre une chaîne de caractère ou un caractère, curseur en attente d'une réponse (textuelle)

Variables = type of data that stock in the memory a value of a data

Example :

name = input("What's your name? ")
print("hello," name)
name = input("What's your name? ")
print("hello")
print(name)

Comments = notes to ourselves in our code, ignored by the computer (for us, our teacher or mentor to review the code) & could be used for pseudocode (allow us to write our program before)

About

Part of my daily life learning Python programming ;))

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages