Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Name:
Peter Kolosov
Clan:
Developers
Skills:
js, python, a bit typescript, a bit php
Member Since:
Nov 2023
Last Seen:
May 2025
Profiles:
Following:
104
Followers:
98
Allies:
97
View Profile Badges
Stats
Kata
Collections
Kumite
Social
Discourse
Published
Peter-developer01
vs.
MasterSam
2 years ago
Number - 7
-4 chars
Code
Diff
numMinusSeven
=
n
=>
n
-
7
numMinusSeven=n
um=>num
-7
numMinusSeven=n
=>n
-7
Fork
Discuss (0)
Fixture
Confirm
Collect:
undefined
Loading collection data...