Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
const button1 = document.getElementbyId('mybtn1'); const button2 = document.getElementbyId('mybtn2'); const button3 = document.getElementbyId('mybtn3'); const button4 = document.getElementbyId('mybtn4'); const button5 = document.getElementbyId('mybtn5'); const button6 = document.getElementbyId('mybtn6'); const button7 = document.getElementbyId('mybtn7'); const chapter = document.getElementbyId('page1'); const chapter2 = document.getElementbyId('page2'); const chapter3 = document.getElementbyId('page3'); const chapter4 = document.getElementbyId('page4'); const chapter5 = document.getElementbyId('page5'); const chapter6 = document.getElementbyId('page6'); const chapter7 = document.getElementbyId('page7');
int(trade_requests[user_id]["other_user_id"]) == other_user_id
$array = explode('/', $s); $value = $arr; foreach ($array as $k => $v) { $value = $value[$k] }
def main(): print('Hello, world!') if __name__ == '__main__': main()
Для таких вещей циклы есть