Informatique

Question

Bonjour, pouvez vous répondre à la question 2 svp ?
Bonjour, pouvez vous répondre à la question 2 svp ?

1 Réponse

  • Réponse :

    def crypter(a):

       liste = [i for i in a]

       for char in liste:

           print(x(ord(char)+1))

    crypter("abcd")

    x est chr (jsp pourquoi ça marche pas avec)

    Explications :