enumrate関数
string = "aiueoeoeo"
for index , variable in enumrate(string):
#0,1,2,3......
print(index)
#a,i,u,e......
print(variable)
Go to list of users who liked
More than 1 year has passed since last update.
enumrate関数
string = "aiueoeoeo"
for index , variable in enumrate(string):
#0,1,2,3......
print(index)
#a,i,u,e......
print(variable)
Register as a new user and use Qiita more conveniently
Go to list of users who liked