The Monte Carlo technique has been used to simulate the electron swarm motion in carbon dioxide and nitrogen, and electron swarm parameters have been evaluated in the range of E/N varying from 14 to 3000 Td (1 Td=10-17 V cm2). These parameters, namely ionisation coefficient, drift velocity, ratios of both radial and longitudinal diffusion coefficients, to mobility (also attachment and dissociation coefficients in the case of carbon dioxide) have been compared with the available experimental data. A set of elastic and inelastic cross-sections has been collected for each gas such that the computed and experimental values gave good agreement for each swarm parameter over the entire E/N range. In addition the percentage of energy lost by different types of inelastic collisions and also the mean swarm energy have been given as a function of E/N for each gas.