https://github.com/blue32a-sandbox/challenge-from-yumemi-five
ゆめみからの挑戦状 第5弾への回答
https://github.com/blue32a-sandbox/challenge-from-yumemi-five
php
Last synced: 3 months ago
JSON representation
ゆめみからの挑戦状 第5弾への回答
- Host: GitHub
- URL: https://github.com/blue32a-sandbox/challenge-from-yumemi-five
- Owner: blue32a-sandbox
- Created: 2022-09-13T08:59:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-13T09:52:05.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T15:38:35.202Z (5 months ago)
- Topics: php
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ゆめみからの挑戦状 第5弾への回答
https://twitter.com/yumemiinc/status/1567724142811820033
```php
$in = [
['2nd' => 'two', 'four' => '4th'],
'three' => '3rd',
['one' => '1st'],
'10th' => 'ten',
['6th' => 'six'],
'5th' => 'five',
'seven' => '7th',
['fourteen' => '14th', '11th' => 'eleven'],
['8th' => 'eight'],
'thirteen' => '13th',
'12th' => 'twelve',
'nine' => '9th',
['15th' => 'fifteen'],
];// 以下と同じ配列を $in から作って出力してください
//
// [
// '1st' => 'one',
// '2nd' => 'two',
// '3rd' => 'three',
// '4th' => 'four',
// '5th' => 'five',
// '6th' => 'six',
// '7th' => 'seven',
// '8th' => 'eight',
// '9th' => 'nine',
// '10th' => 'ten',
// '11th' => 'eleven',
// '12th' => 'twelve',
// '13th' => 'thirteen',
// '14th' => 'fourteen',
// '15th' => 'fifteen',
// ]
```