Skip to content

Commit

Permalink
adding more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
codeperfectplus committed Oct 2, 2021
1 parent 2833d78 commit 61a227c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 9 additions & 6 deletions 01. solveMeFirst/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
Problem Statement : sum of the above two integers
Url : https://www.hackerrank.com/challenges/solve-me-first/problem
'''
def solveMeFirst(a:int,b:int):

def solveMeFirst(a:int, b:int):
# Hint: Type return a+b below
return a + b


num1 = int(input())
num2 = int(input())
res = solveMeFirst(num1,num2)
print(res)
assert solveMeFirst(2, 3) == 5
assert solveMeFirst(7, 3) == 10
assert solveMeFirst(1, 1) == 2
assert solveMeFirst(1, 2) == 3
assert solveMeFirst(1, 3) == 4
assert solveMeFirst(1, 4) == 5
assert solveMeFirst(1, 5) == 6
4 changes: 0 additions & 4 deletions 04. AVeryBigSum/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
'''
#!/bin/python3

import math
import os
import random
import re
import sys

# Complete the aVeryBigSum function below.
def aVeryBigSum(ar):
Expand Down

0 comments on commit 61a227c

Please sign in to comment.