---
title: "Discussion on \"Daily Challenge: Calculate the ratios of array elements/Print the decimal value of it\" | Hashnode"
description: "Discussion on \"Daily Challenge: Calculate the ratios of array elements/Print the decimal value of it\". TASK:  Calculate the ratios of integers in an array that are positive, negative, and zero. Print the decimal value of each fraction on a new line with six places after the decimal.\nPython:\ndef plusMinus(arr):\n  size = len(arr)\n  plus = [i for i in ar..."
url: "https://hashnode.com/posts/daily-challenge-calculate-the-ratios-of-array-elementsprint-the-decimal-value-of-it/6037ef863b9c825a0b8aa60b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Daily Challenge: Calculate the ratios of array elements/Print the decimal value of it](https://tomokimemo.hashnode.dev/daily-challenge-calculate-the-ratios-of-array-elementsprint-the-decimal-value-of-it?utm_source=hashnode&utm_medium=feed)

TASK: Calculate the ratios of integers in an array that are positive, negative, and zero. Print the decimal value of each fraction on a new line with six places after the decimal. Python: def plusMinus(arr): size = len(arr) plus = \[i for i in ar...

Feb 25, 2021 · 2 min read · tomokimemo.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#learning](https://hashnode.com/tag/learning)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)

## Written by

[Tomoki Takeuchi](https://hashnode.com/@tomokitointhe6ix)

@tomokitointhe6ix · Toronto, ON Canada

  
[View profile](https://hashnode.com/@tomokitointhe6ix)

Software Engineer - Python, C#, JavaScript etc.

A software engineer and web developer, and a professional music composer in Toronto, Canada, originally from Tokyo, Japan. Also a former project manager.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
