8 kyu

Grasshopper - Basic Function Fixer

18,366 of 41,195danleavitt0

Description:

Fix the function

I created this function to add five to any number that was passed in to it and return the new value. It doesn't throw any errors but it returns the wrong number.

Can you help me fix the function?

Fundamentals

Stats:

CreatedOct 15, 2015
PublishedOct 24, 2015
Warriors Trained44042
Total Skips1826
Total Code Submissions52544
Total Times Completed41195
JavaScript Completions18366
CoffeeScript Completions75
C# Completions2514
Ruby Completions1187
Java Completions5566
Python Completions12938
TypeScript Completions851
Rust Completions920
COBOL Completions55
Scala Completions98
Total Stars123
% of votes with a positive feedback rating87% of 3911
Total "Very Satisfied" Votes3085
Total "Somewhat Satisfied" Votes598
Total "Not Satisfied" Votes228
Total Rank Assessments137
Average Assessed Rank
8 kyu
Highest Assessed Rank
8 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • danleavitt0 Avatar
  • Javatlacati Avatar
  • Jotha Avatar
  • suic Avatar
  • maxprilutskiy Avatar
  • kazk Avatar
  • coffeeismyblood Avatar
  • B1ts Avatar
  • d4rk.c0d3w4r5 Avatar
  • hobovsky Avatar
  • Minoru-kun Avatar
  • albertogcmr Avatar
  • LearningFTW Avatar
  • KayleighWasTaken Avatar
Ad