CODETISAN
Practise
Competition
Pricing
DevNet
For Employers
English
简体中文
Given a number, increase the number by 1 and return a new value.
Sample Code:
def plusOne(num): # Enter your logic here...
Examples:
Input: 1 Output: 2 Explanation: 1 + 1 = 2
Input: -999 Output: -998 Explanation: -999 + 1 = -998
Code Editor
Links
Learn To Code
Policy
Follow Us
© 2023 Codetisan. All rights reserved.