Need a python code

Annulleret Opslået 4 år siden Betalt ved levering
Annulleret Betalt ved levering

The question is divided into two parts:

Part 1) We need write a python code to perform the division of large number, storing of its value in csv and creation of addition script.i.e A1, A2,A3…[login to view URL]

Part 2) Write a python code to run the Addition script in parallel and write its value in csv. i.e B1, B2…[login to view URL]

Operation

Division

Basically, we need to divide the 10^80 into 10^20 till 10^5 as shown in [login to view URL] store that number in a csv file.

Eg: 10^2 =100

We divide the number by 2 into 2 halves.

Say, 1. From 1 -50 in one variable and write that value in [login to view URL] file. Similarly, for next value 51 – 100 in another variable and write that value in [login to view URL] file

Addition part

Need to perform the addition of 1 to 50, by adding number one by one. By getting the value from [login to view URL]

i.e. 1+1 =2

2+1 =3

3+1 = 4 till 49 +1 = 50

All these value need to be written in [login to view URL] file.

Similarly, for another part of [login to view URL] file and their values need to be written in [login to view URL]

i.e 51+1 =52;

52+1 =53

53+1=54

till 99+1 =100

Also, we need to perform these operation in separate python script. i.e. calculation of a1 in separate AND a2 in seperate

Basically, we are able to divide the smaller number, but in case of large number it is going out of range

Some Hints:

Q1:

Input : 10^80 digit number

ie. 10000000000000000000000000000000000000000000000000000000000000000000000000000000

OUTPUT : THERE WILL BE 2 OUTPUT:

1. CSV FILE

2. PYTHON SCRIPT

Output 1: 1- 100000 [login to view URL]

100001- 20000 [login to view URL]

till last input number [login to view URL]

Output 2: and generate python script [login to view URL], [login to view URL] , B3.py.... till B_ [login to view URL] having addition operation code in it. They took the input by reading the value of csv file for say input value of [login to view URL], [login to view URL], a3.csv... [login to view URL] and print that value in console in parallel in seperate processes.

Q2:

Input: THEN python script which run the [login to view URL] will perform the addition operation in it. For say,

[login to view URL] will have to compute 1+1 =2, 2+1 = 3 till 9999+1 =10000 by taking the input parameter of a1.csv. and save its computation in [login to view URL] for each computation

similarly for other [login to view URL] will compute by reading [login to view URL] as 10001 and [login to view URL] addition operation as 10001+1 =10002,

10002+1 =10003 till 20000

till n

Output: Run the python script upto 10^5 parallel with complexity O(log n)[needed] or nearly O(n).

We need to run [login to view URL], [login to view URL] .... till the

[login to view URL] will have an output 1+1 =2, 2+1 = 3 till 9999+1 =10000

similarly for [login to view URL], [login to view URL] till [login to view URL]

Python Software Arkitektur

Projekt ID: #23394782

Om projektet

9 bud Remote projekt Aktiv 4 år siden

9 freelancere byder i gennemsnit ₹1262 timen for dette job

dataspro

Hello!! We are DSPro, a software development agency specialized in providing services and products to companies, through cutting edge technologies such as Cognitive Computing, Backend systems, Data Pipelines, M Flere

₹1258 INR in 7 dage
(2 bedømmelser)
4.6
nikhil5642

I am an highly experienced freelancer and an IIT Roorkee passout. I am offering services in Machine Learning, Deep Leaning, Android app development, Data Science, Natural Language Processing, Computer Vision, OpenCV, s Flere

₹1500 INR in 7 dage
(11 bedømmelser)
4.1
Saimi786

Hello Thanks for your posting. I am a senior developer so i can do it very easily if you want.I’ve read your job description carefully and I am very interested in your project. I am sure that I can finish this project Flere

₹1050 INR på 1 dag
(23 bedømmelser)
4.3
arc9693

Hey there! I am an expert in python. I work with csv files all the time. I can do this very quickly. I promise 100% quality work. Check portfolio and reviews for similar past work. Message me for further discussion.

₹1400 INR på 1 dag
(14 bedømmelser)
4.1
nageshsrivastav9

Cheap with high quality work............................................................................................

₹850 INR på 1 dag
(39 bedømmelser)
4.6
asaremaame1

just give me a try if u find my work not appealing just ignore it and I no u will love it trust me please message me now

₹1450 INR in 5 dage
(0 bedømmelser)
0.0
kamallanand6

I am professional coder and i can help you faster

₹1300 INR på 1 dag
(0 bedømmelser)
0.0