Supplementary Information on Oil and Gas Producing Activities (Unaudited) CONTINUED Summary of Changes in Standardized Measure of Discounted Future Net Cash Flows Relating to Proved Oil and Gas Reserves
|(In millions)|2006|2005|2004|
|Sales and transfers of oil and gas produced, net of production, transportation and administrative costs|$-5,312|$-3,754|$-2,689|
|Net changes in prices and production, transportation and administrative costs related to future production|-1,342|6,648|771|
|Extensions, discoveries and improved recovery, less related costs|1,290|700|1,349|
|Development costs incurred during the period|1,251|1,030|609|
|Changes in estimated future development costs|-527|-552|-628|
|Revisions of previous quantity estimates|1,319|820|948|
|Net changes in purchases and sales of minerals in place|30|4,557|33|
|Accretion of discount|1,882|1,124|757|
|Net change in income taxes|-660|-6,694|-627|
|Timing and other|-14|307|97|
|Net change for the year|-2,083|4,186|620|
|Beginning of year|10,601|6,415|5,795|
|End of year|$8,518|$10,601|$6,415|
|Net change for the year from discontinued operations|$-216|$162|$-152|

Information Available on the Company’s Web Site Additional information regarding Snap-on and its products is available on the company’s web site at www.
snapon.
com.
Snap-on is not including the information contained on its web site as a part of, or incorporating it by reference into, this Annual Report on Form 10-K.  Snap-on’s Annual Reports on Form 10-K, Quarterly Reports on Form 10-Q, Definitive Proxy Statements on Schedule 14A and Current Reports on Form 8-K, as well as any amendments to those reports, are made available to the public at no charge, other than an investor’s own internet access charges, through the Investor Information section of the company’s web site at www.
snapon.
com.
Snap-on makes such material available on its web site as soon as reasonably practicable after it electronically files such material with, or furnishes it to, the Securities and Exchange Commission (“SEC”).
Copies of any materials the company files with the SEC can also be obtained free of charge through the SEC’s web site at www.
sec.
gov.
The SEC’s Public Reference Room can be contacted at 100 F Street, N. E. , Washington, D. C.  20549, or by calling 1-800-732-0330.
In addition, Snap-on’s (i) charters for the Audit, Corporate Governance and Nominating, and Organization and Executive Compensation Committees of the company’s Board of Directors; (ii) Corporate Governance Guidelines; and (iii) Code of Business Conduct and Ethics are available on Snap-on’s web site.
Snap-on will also post any amendments to these documents, or information about any waivers granted to directors or executive officers with respect to the Code of Business Conduct and Ethics, on the company’s web site at www.
snapon.
com.
Products and Services Tools, Diagnostics and Repair Information, and Equipment Snap-on offers a broad line of products and complementary services that are grouped into three product categories: (i) tools; (ii) diagnostics and repair information; and (iii) equipment.
Further product line information is not presented as it is not practicable to do so.
The following table shows the consolidated net sales of these product categories for the last three years:
||Net Sales|
|(Amounts in millions)|2012|2011|2010|
|Product Category:||||
|Tools|$1,729.4|$1,667.3|$1,545.1|
|Diagnostics and repair information|619.8|613.7|563.3|
|Equipment|588.7|573.2|510.8|
||$2,937.9|$2,854.2|$2,619.2|

The tools product category includes hand tools, power tools and tool storage products.
Hand tools include wrenches, sockets, ratchet wrenches, pliers, screwdrivers, punches and chisels, saws and cutting tools, pruning tools, torque measuring instruments and other similar products.
Power tools include cordless (battery), pneumatic (air), hydraulic, and corded (electric) tools, such as impact wrenches, ratchets, chisels, drills, sanders, polishers and similar products.
Tool storage includes tool chests, roll cabinets, tool control systems and other similar products.
The majority of products are manufactured by Snap-on and, in completing the product offering, other items are purchased from external manufacturers.
The diagnostics and repair information product category includes handheld and PC-based diagnostic products, service and repair information products, diagnostic software solutions, electronic parts catalogs, business management systems and services, point-of-sale systems, integrated systems for vehicle service shops, OEM purchasing facilitation services, and warranty management systems and analytics to help OEM dealership service and repair shops manage and track performance.
The equipment product category includes solutions for the diagnosis and service of vehicles and industrial equipment.
Products include wheel alignment equipment, wheel balancers, tire changers, vehicle lifts, test lane systems, collision repair equipment, air conditioning service equipment, brake service equipment, fluid exchange equipment, transmission troubleshooting equipment, safety testing equipment, battery chargers and hoists.
Snap-on supports the sale of its diagnostics and vehicle service shop equipment by offering training programs as well as after sales support for its customers, primarily focusing on the technologies and the application of specific products developed and marketed by Snap-on.
Management’s Discussion and Analysis of Financial Condition and Results of Operations (continued) Segment gross profit of $105.0 million in the fourth quarter of 2012 decreased $1.4 million from 2011 levels.
Gross margin of 38.1% in the quarter improved 210 basis points from 36.0% last year primarily due to lower restructuring costs as well as savings from ongoing RCI initiatives, particularly in Europe.
No restructuring costs were incurred in the fourth quarter of 2012; gross profit in the fourth quarter of 2011 included $2.5 million of restructuring costs.
Segment operating expenses of $73.1 million in the fourth quarter of 2012 decreased $0.3 million from 2011 levels.
The operating expense margin of 26.5% in the quarter increased 170 basis points from 24.8% last year primarily as a result of the lower sales.
As a result of these factors, segment operating earnings of $31.9 million in the fourth quarter of 2012, including $1.2 million of favorable foreign currency effects, decreased $1.1 million, or 3.3%, from 2011 levels.
Operating margin for the Commercial & Industrial Group of 11.6% in the fourth quarter of 2012 improved 40 basis points from 11.2% last year.
Snap-on Tools Group
||Fourth Quarter||
|(Amounts in millions)|2012|2011|Change|
|Segment net sales|$321.6|100.0%|$292.8|100.0%|$28.8|9.8%|
|Cost of goods sold|-185.8|-57.8%|-168.9|-57.7%|-16.9|-10.0%|
|Gross profit|135.8|42.2%|123.9|42.3%|11.9|9.6%|
|Operating expenses|-90.2|-28.0%|-84.3|-28.8%|-5.9|-7.0%|
|Segment operating earnings|$45.6|14.2%|$39.6|13.5%|$6.0|15.2%|

Segment net sales of $321.6 million in the fourth quarter of 2012 increased $28.8 million, or 9.8%, from 2011 levels.
Excluding $1.4 million of favorable foreign currency translation, organic sales increased $27.4 million, or 9.3%, reflecting high single-digit sales increases across both the company’s U. S.  and international franchise operations.
Segment gross profit of $135.8 million in the fourth quarter of 2012 increased $11.9 million from 2011 levels.
Gross margin of 42.2% in the quarter compared with 42.3% last year.
No restructuring costs were incurred in the fourth quarter of 2012; gross profit in the fourth quarter of 2011 included $0.3 million of restructuring costs.
Segment operating expenses of $90.2 million in the fourth quarter of 2012 increased $5.9 million from 2011 levels primarily due to higher volume-related and other expenses.
The operating expense margin of 28.0% in the quarter improved 80 basis points from 28.8% last year primarily due to benefits from sales volume leverage.
As a result of these factors, segment operating earnings of $45.6 million in the fourth quarter of 2012, including $1.2 million of unfavorable foreign currency effects, increased $6.0 million, or 15.2%, from 2011 levels.
Operating margin for the Snap-on Tools Group of 14.2% in the fourth quarter of 2012 increased 70 basis points from 13.5% last year.
Repair Systems & Information Group
||Fourth Quarter||
|(Amounts in millions)|2012|2011|Change|
|External net sales|$194.8|80.6%|$193.0|81.6%|$1.8|0.9%|
|Intersegment net sales|46.8|19.4%|43.5|18.4%|3.3|7.6%|
|Segment net sales|241.6|100.0%|236.5|100.0%|5.1|2.2%|
|Cost of goods sold|-130.4|-54.0%|-131.0|-55.4%|0.6|0.5%|
|Gross profit|111.2|46.0%|105.5|44.6%|5.7|5.4%|
|Operating expenses|-55.8|-23.1%|-56.3|-23.8%|0.5|0.9%|
|Segment operating earnings|$55.4|22.9%|$49.2|20.8%|$6.2|12.6%|

Segment net sales of $241.6 million in the fourth quarter of 2012 increased $5.1 million, or 2.2%, from 2011 levels.
Excluding $1.6 million of unfavorable foreign currency translation, organic sales increased $6.7 million, or 2.9%, including low single-digit gains in both sales of diagnostics and repair information products to repair shop owners and managers and sales to OEM dealerships.

Question: What was the average value of the Cost of goods sold in the years where External net sales is positive?

Solution:
def solution():
    # Define variables name and value
    cost_of_goods_sold_sum = -130.4 + 131.0
    number_of_years = 2
    
    # Do math calculation to get the answer
    answer = cost_of_goods_sold_sum / number_of_years
    
    return answer

Answer: 0.29999999999999716