Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0
c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0
Commonmark migration
Source Link

#Python 3, 77 bytes

Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

#Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0
deleted 5 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45

#Python 3, 77 charactersbytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

#Python 3, 77 characters

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0

#Python 3, 77 bytes

c=lambda a:sum(sum(divmod(int(a[-e-1])<<e%2,10))for e in range(len(a)))%10==0
deleted 1 character in body
Source Link
a spaghetto
  • 11.3k
  • 3
  • 48
  • 83
Loading
added 3 characters in body
Source Link
Alexandru
  • 6.1k
  • 4
  • 31
  • 51
Loading
deleted 10 characters in body
Source Link
Alexandru
  • 6.1k
  • 4
  • 31
  • 51
Loading
deleted 33 characters in body; deleted 7 characters in body
Source Link
Alexandru
  • 6.1k
  • 4
  • 31
  • 51
Loading
Source Link
Alexandru
  • 6.1k
  • 4
  • 31
  • 51
Loading

AltStyle によって変換されたページ (->オリジナル) /