programming the get function, but depending on the msg type i have to use a different function from the bot. How can i implement this efficiently? I think doing 6 if statements isn't that great... any other ideas?
if statement is the good solution in this case. I would recommend going to switch instead, but it is just another form of if
is there the switch case in python?
Обсуждают сегодня