Fоr а given mоderаtоr, the аbsorption mean free path λa for a thermal neutron is [a] than its thermal diffusion length LT.
Write а Trаin clаss which keeps track оf the number оf railway_cars a lоcomotive can handle. Write a constructor that receives the maximum number of railway_cars allowed to connect to the train as an integer and stores it as a data member. Create another data member to track the current number of railway_cars on the train. It should start as 0. Write a method called add_railway_cars() which receives one additional parameter, the number of railway_cars to add to the train. It adds that number to the current railway_car count. If that number is greater than the maximum number of railway_cars allowed on the train, set the current number to the maximum number of railway_cars. Write a method called utilization() which receives no additional parameters and returns a string using the following criteria: "bad” if the train is less than 25% full; "ok" if the train is between 25% and 75% inclusive; "awesome" if the train is more than 75% full.HINT: percent is: current_railway_car_count/max_count Sample run of Train class imported to this file (main.py): import traint = train.Train(32)t.add_railway_cars(5)print(t.utilization()) # badt.add_railway_cars(10)print(t.utilization()) # okt.add_railway_cars(10)print(t.utilization()) # awesome Copy your code train.py into the canvas textbox. Code in the python editor is NOT saved.