Explicación de los elementos básicos de python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
235 B

x = "hello" #stores hello in x
for c in x: #repeats loop for every character of x
print(c) #prints current character
#result: h,e,l,l,o