Jump to content

Luhn algorithm: Revision history


For any version listed below, click on its date to view it. For more help, see Help:Page history and Help:Edit summary. (cur) = difference from current version, (prev) = difference from preceding version, m = minor edit, → = section edit, ← = automatic edit summary

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

24 November 2024

14 October 2024

9 October 2024

1 October 2024

18 September 2024

11 September 2024

31 August 2024

5 August 2024

25 July 2024

9 July 2024

29 June 2024

28 June 2024

  • curprev 08:3408:34, 28 June 2024 Neiljohnlord talk contribs 10,901 bytes −30 Python: The class has a method that returns the last number and the reversed order remaining numbers. In the for loop the remaining numbers is however reversed again which results in an incorrect answer. The github repository that is referenced does not reverse the remaining numbers in the function that splits it up. I changed the code to more allign with the reference while returning the correct answer. undo

20 June 2024

17 June 2024

14 June 2024

  • curprev 23:1023:10, 14 June 2024 Mcbenne2 talk contribs 10,920 bytes +30 The python example for calculating was incorrect. It gave an incorrect answer on on an odd number of digits because it worked from left to right instead of right to left. Reversing the remaining numbers fixes. undo

5 June 2024

15 May 2024

9 May 2024

23 April 2024

18 April 2024

16 March 2024

12 March 2024

10 March 2024

6 March 2024

20 February 2024

15 February 2024

6 February 2024

2 February 2024

18 January 2024

9 January 2024

3 December 2023

29 November 2023

27 November 2023

22 November 2023

16 November 2023

31 October 2023

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)