Skip to content
Snippets Groups Projects
Verified Commit 7fe1cd05 authored by Baptiste Girard-Carrabin's avatar Baptiste Girard-Carrabin :speech_balloon:
Browse files

Initial commit

parent ea1d5014
No related branches found
No related tags found
No related merge requests found
def fonction_utile2(nombre):
for i in range(nombre):
print(i)
if __name__ == "__main__":
fonction_utile2(5)
\ No newline at end of file
####### CONTEXTE ###########
# python -X dev
# from threading import Thread
# thread = Thread()
# thread.isAlive()
# name == main
# from mauvais_module import fonction_utile1
# from bon_module import fonction_utile2
# Linter
# from jinja import test
# def fonction_longue(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z):
# pass
# Formater
# fruits = {'banane': "jaune", "pomme": "vert", "abricot": "orange", "tomate": "rouge"}
# Commentaires
# def docstring(arg1, arg2):
# """De l'utilité des docstrings
# Args:
# arg1 (int): un entier
# arg2 (str): un mot
# Returns:
# tuple: un mélange des deux
# """
# return arg3
def fonction_utile1(nombre):
for i in range(nombre):
print(i)
fonction_utile1(5)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment