mirror of
https://github.com/arthur-pbty/nsi.git
synced 2026-06-03 23:36:19 +02:00
8 lines
141 B
Python
8 lines
141 B
Python
a = input("Entrer la chaîne : ")
|
|
b = 0
|
|
|
|
for i in range(len(a)):
|
|
if a[i] == "Z" or a[i] == "z":
|
|
b += 1
|
|
|
|
print(f"Résultat : {b}") |