If then en python

Résolu
Bonjour,
Comment convertir en Python:

a = 5; b = 0; c = 0
if a = 5 then b = 40; c = 30


par avance MERCI

Configuration: Linux / Firefox 95.0

2 réponses

  1. Contributeur
    bonjour,
    peut-être:
    a = 5
    b = 0
    c = 0
    if a == 5:
        b = 40
        c = 30