Python Program to print highest number

Describe your contest in detail

Start with a bit about yourself or your business, and include an overview of what you need done.


You are given a number N and an integer K. Your task is to find the maximum number that can be formed if you insert exactly K commas between the digits of N to divide it into different numbers.

Input format :

1) Fist line of input contains an integer T, denotes the number of testcases

2) Fist line of each testcase contains an integer K, denotes the number of commas

3) second line of each testcase contains an integer N

Output format :

For each test case , print the maximum number that can be formed if you can inset exactly K commas between the digits of N to divide it into different numbers

Constrains :



1<=K<length(N) where length(N) denotes the number of digits in the number N.

Skills: Python, Software Architecture

See more: print part number labels excel, program generate digit number, help writing python program enter payroll information, find largest and smallest number in python, for loop to find largest number python, write a python program to get the smallest number from a list., python program to find largest of n numbers using while loop, python program to find largest of 3 numbers, python program to find the second largest number in a list, python program to find largest of 4 numbers, python how to find the largest number in a list without max, program add big number different sign, excel macro print invoice number, program determine frequency number larger number, program finds lowest number highest, write program print random numbers, using program getting highest numbers numbers, python program extract info website, program will count number characters external text file, program simple random number

About the Employer:
( 0 reviews ) Hyderabad, India

Project ID: #26892220

18 freelancers are bidding on average ₹811 for this job


Hi I am Python Developer Experianced In Web Scrapping & Python Automation I can finish this task in a day only please share the details thanks

₹1500 INR in 1 day
(13 Reviews)

I am a Professional Python Developer with 5+ experience, I can help you with your project, we are expert in ML, Deep Learning and Python Programing Just ping me and we are ready to go

₹900 INR in 1 day
(14 Reviews)

hello sir I am competitve coding expert I will complete your task message me so I can do your task right now Regards Sharad

₹800 INR in 1 day
(9 Reviews)

Hey, I'm Arnav I'm an experienced Software Engineer/ Fullstack Developer with a skillset comprising of web development (frontend & backend), automation, machine learning, deep learning, data mining, data analysis, API More

₹1000 INR in 1 day
(11 Reviews)

I am a C/C++, Python, Java expert with 2 years of competitive programming experience with knowledge of Data structures and algorithms and I can do your work as soon as possible. Can we discuss more on this project on c More

₹1000 INR in 1 day
(8 Reviews)

I am an electronic engineer and have given many python based competitive tesrs. I have understood your problem and can make the needful code for it.

₹750 INR in 2 days
(2 Reviews)

Hi, their I am a competetive programmer and have good rank on hakerrank platform. I have a great experience of python and done many project successfully. So, I will be glad to take your project. Cantact me for any que More

₹950 INR in 1 day
(1 Review)

Hello, I read your requirements and I can assure you that I can do it for you. I believe it can be done very efficiently and I have the needed experience in writing algorithms. I am experienced with a 6 year experience More

₹800 INR in 7 days
(0 Reviews)

I am a student of Bits Pilani, which is one of the most reputed college in India. I have successfully completed many projects varying across different fields like computer science, aerospace, civil engineering, etc. I More

₹950 INR in 2 days
(0 Reviews)

if u want a good pyhton solution then u must choose here otherwise many options are also available.

₹750 INR in 3 days
(0 Reviews)

I am a beginner python coder and new to competitive programming as well, My skill have some limitations but my learning capability does not, So I think I am the fittest one for this work.

₹600 INR in 7 days
(0 Reviews)

Dear sir, I am Amrutha an undergraduate from IIIT basar in the stream of computer science. I have been working with python and competitive programing in various platforms like hackerrank, leetcode , geeksforgeeks etc s More

₹600 INR in 1 day
(0 Reviews)

Hi, how are you doing? Our company can develop your project. We have experience with Python programming. We would like to know where the numbers (N) will be obtained from? Will they be obtained by user input, from a da More

₹600 INR in 2 days
(0 Reviews)

i have you script. i am 3 years in python.

₹600 INR in 10 days
(0 Reviews)

hello sir i have great skill of competative programming and i solved many problems ln verious platform like codeforce and codechef that you can check out. codechef:-naimish18 codeforce naimish18 Thank You

₹600 INR in 1 day
(0 Reviews)

Hello my name is Luka and I'm a student of Software engineering. I love to solve problems like yours which require a bit of thinking. I would be glad to work it out.

₹700 INR in 1 day
(0 Reviews)

1 year experience in steel structure software OSDAG using python based on Object Oriented Programming at IIT-Bombay

₹850 INR in 1 day
(0 Reviews)

I'm working as a python developer for more than 3 years now. I can provide you the most clean and pythonic solution. Hit me up so we can discuss further.

₹650 INR in 1 day
(0 Reviews)