fork download
  1. # your code goes here
  2. napis = 'toratora'
  3. print(napis.count("t"))
  4. print(napis.count('to'))
Success #stdin #stdout 0.09s 14136KB
stdin
Standard input is empty
stdout
2
2