Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Basic math operations #78

Open
shorodilov opened this issue May 14, 2023 · 2 comments
Open

Basic math operations #78

shorodilov opened this issue May 14, 2023 · 2 comments
Assignees
Labels
assignment Represents a challenge for homework or exam io Input/Output challenges math Math (and arithmetic) challenge type casting Type casting challenge
Milestone

Comments

@shorodilov
Copy link
Member

shorodilov commented May 14, 2023

Write a script that asks a user for two numbers.
Print out the results for each math operation with these numbers.

E.g.

>>> enter number a:
10
>>> enter number b:
5
>>> a + b = 15
>>> a - b = 5
>>> a * b = 50
>>> a / b = 2.0
>>> a // b = 2
@shorodilov shorodilov added this to the Basics milestone May 14, 2023
@shorodilov shorodilov added the assignment Represents a challenge for homework or exam label May 14, 2023
@shorodilov shorodilov added io Input/Output challenges math Math (and arithmetic) challenge type casting Type casting challenge labels Aug 19, 2023
@shorodilov shorodilov moved this to 🆕 New in Assignments Aug 22, 2023
@tarun212001
Copy link
Contributor

Hi @shorodilov I would like to work on this issue. Please Assign it to me. Thankyou

@shorodilov shorodilov moved this from 🆕 New to 📋 Backlog in Assignments Nov 30, 2023
@shorodilov
Copy link
Member Author

shorodilov commented Nov 30, 2023

Hi @tarun212001.

The overall development process is described in comments to #87.

I haven't think about the directory to place the entire scripts for now.
Just create a module within src/calc.

Note, this ticket to related to the beginners' challenges, so no functions - just a simple script code.
It's challenging to test the entire script modules. So, you may skip this step. Just let me know, or open an issue yourself to apply tests for your code in the future.

In case of any questions - be my guest. I'll do my best to help you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
assignment Represents a challenge for homework or exam io Input/Output challenges math Math (and arithmetic) challenge type casting Type casting challenge
Projects
No open projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants