Python - Kommentar vrifier une cord conTient un nombre
str1 = "python1" str2 = "nonumber" str3 = "12345" print(any(chr.isdigit() for chr in str1)) print(any(chr.isdigit() for chr in str2)) print(any(chr.isdigit() for chr in str3))
thecodeteacher