Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Add Onliner with the sum  of 0  to 100
  • Loading branch information
denschiro authored and claesgill committed Oct 24, 2023
1 parent 363766f commit 280b8f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
sorted_alphabet = alphabet.sort()
numbers_alphabet = [*(chr(ord("0") + i) for i in range(10)), *alphabet] # concatenate numbers and alphabets into 1 array (0-9,a-z)
numbers42_alphabet = [(int(i) * 42) for i in numbers_alphabet[0:9]] + alphabet
alphabet_capatalized = [*(chr(ord("A") + i) for i in range(26))]
alphabet_capatalized = [*(chr(ord("A") + i) for i in range(26))]
sum_of_numbers_0_to_100 = sum(range(101))#sum of numbers 0-100

0 comments on commit 280b8f7

Please sign in to comment.