keyboard.append([topic + chatid)])
                  
                  
                  This will create a list like this: 
                  
                  
                  keyboard = [["test1234"], ["test4234"], ["test6546"], ["tedtg3434"], ["ghth4234"]]
                  
                  
                  
                  
                  
                  But i want something like this:
                  
                  
                  
                  
                  
                  keyboard = [["test1234", "test4234"], ["test6546", "tedtg3434"], ["ghth4234"]]
                  
                  
                  
                  
                  
                  How can i do this?
                  
                  
                
keyboard.append([topic, chatid])
Обсуждают сегодня