str = "This article is written in {}" print (str.format("Python")) code example
Example: str = "This article is written in {}" print (str.format("Python"))
ma_liste = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
def ma_fonction(x):
for x in range(len(ma_liste)):
if x % 2 == 0:
print(x)
ma_fonction(1)