Level Up

This library is a resource of collected resources that have been used to level up skills. This typically consists of challenges, tutorials, and other resources that have been used to learn a new skill or improve an existing one.

level1.txt

3556546116610186438983447571561087482926551067107192591038975689104284253635154859582104516171553498210197833788658573108647385106267104771592887310232210109171215282381889102861031118913778593118944846810278455523648562674310878595517101555768821106372259957677495932875953416868104197294254107797921372910757599564738841039798297751106549336649436439814511510619111064493942492999386101053421086541844716864659359149893629881434489539547627582599285668723192155712106356718357713311615637610422995291325669109197175310651823210519268

Question 1: Split level1.txt into single digits and sum them. Question 2: Split level1.txt into two digits sets and sum them Question 3: Split level1.txt into three digits sets and sum them Question 4: Write a function sum_digits that allows the user to input the number of digits to split on and sum them. What is the output for sum_digits(7)? (edited) Question 5: Write a function named secret_formula that takes 10 digits, ie 9437518524. Sum the first 4 digits, combine 5-6 and subtract them, combine 7-8 then divide, combine 9-10, then multiply. So the above example would be: (((9+4+3+7) - (5+1)) / (8+5) ) * (2+4) = 7.846… Split level1.txt into ten digit sets, run the secret_formula function on each set and rank them by output (highest to lowest). Multiply the first digit of the top 3 sets together.

Next challenge: In vimGolf, you start with a file and you have an ending file. You are attempting to make the file match the ending file in as few keystrokes as possible. You could totally do this challenge with emacs, vscode, etc. The point is to understand the power of the editor. Simple https://www.vimgolf.com/challenges/9v006283b31d00000000021d OK: 25 keystrokes Solid: 15 keystrokes Incredible: 9 or less

Hard mode: https://www.vimgolf.com/challenges/9v0063cb8c9c000000000248

Ideas