from random import* n=int(input("saisir le nombre de chiffres de x")) while not(n<=4 and n>0): n=int(input("saisir le nombre | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

from random import* n=int(input("saisir le nombre de chiffres de x")) while not(n<=4 and n>0): n=int(input("saisir le nombre

Can someone please explain this to me

12th Nov 2021, 9:43 PM
Oussema Belguith
Oussema Belguith - avatar
2 Réponses
+ 4
Do not paste code into the heading – it gets cut off and nobody can read it. ⭐⭐⭐ Rather put it in a script on playground and link it here ⭐⭐⭐
12th Nov 2021, 10:04 PM
Lisa
Lisa - avatar
0
I just didn't get why this code used the two loops
12th Nov 2021, 10:20 PM
Oussema Belguith
Oussema Belguith - avatar