A Very Big Sum

  • + 0 comments

    Only the return satement is needed to complete the code in Pypy3

    import os
    
    def aVeryBigSum(ar):
      
        return (sum(ar))
    
    if __name__ == '__main__':
        fptr = open(os.environ['OUTPUT_PATH'], 'w')
    
        ar_count = int(input().strip())
    
        ar = list(map(int, input().rstrip().split()))
    
        result = aVeryBigSum(ar)
    
        fptr.write(str(result) + '\n')
    
        fptr.close()