i have been working on this example but not able to achieve it.please someone help me out.Below is my requirement
i have text file name SalesofCars.txt which contains below data
Car_Name In2017 In2018 In2019 Hyundai 45 40 48 Volvo 23 29 31
the desired output should be as below
output: {'Hyundai' => {'In2017' => 20, 'In2018' => 30, 'In2019' => 50}}
In reply to hash of hash by Tigor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |