Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
from RiotAPI import leagueCounterTips
def leagueInit(sentence):
"""Initialize League of Legends champion counter tips"""
i = sentence.index("counter")
champion = sentence[i+1] # The word that follows "counter" is the name of the champion
return leagueCounterTips(champion)