pascalabcnet/InstallerSamples/SPython/py11.pys
Mikhalkovich Stanislav 6d15540895 SPython в 3.11
2025-08-31 17:21:18 +03:00

3 lines
120 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

fruits = ['apple', 'banana', 'cherry']
for i, fruit in enumerate(fruits, 1): # начнём с 1
print(i, fruit)