programming-language型タプル(tuple)On this pageタプル(tuple) Python pyt1 = (404, 'Not Found') pyt1 = (404, 'Not Found')t1[0] // => 404t1[1] // => "Not Found" pytuple(list1) # list to tuple TypeScript tsconst t1: [number, string] = [404, "Not Found"]; tsconst t1: [number, string] = [404, "Not Found"];t1[0] // => 404t1[1] // => "Not Found" 📩 ご意見・ご感想はこちらから