+ 2
Help Me plz
What is mistake here? text = input() l=list(text) a=-1 b=1 while len(l)>b: a+=b b+=1 k=(l[a]:l.count(l[a]))*len(l) di={k} print(di)
1 Antwort
+ 1
There are two mistake
First: You cannot use this syntax to convert a string to a list.
Second: There is a syntax error on variable k