Questions: 4 359

Free Answers by our Experts: 4 273

It is very hard to master any of programming language and many students have troubles with it. That is why we have decided to render assistance for those who have difficulties with Python. Python problems are very common among students. They are tired of constant Python questions and try to find the Python answers. Ask your questions here and be sure to get the 100% truthful answers. The only thing you will have to do – is to send the request with Python questions and to have no hesitation that all your Python questions will be satisfied.

Ask Your question

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Checking the dimensions of luggage – a program that checks the size of luggage.  Guidelines:

 Define a function that: - gets data as a string parameter in a format like: 13x34x54 - creates a list with 3 numbers as a dimensions: [width, height, depth] - calculates and returns a size of luggage

 Define a main function that: - enters dimensions of luggage in a format like: 13x34x54 - checks whether the size of luggage is bigger then 158 cm.


Write a python function that will take any integer and return true or false if the number is palindrome using loop. Call this function in main body of the program and verify your output by printing the value returned.


1


2


6


8


3


These integers in range find the prime number

2


6


7


9


5


Find the prime no.of range

if str1[-1].isdigit():



count+=1



Sum += int(temp)





I cant understand this part of the problem and also please explain the problem fully if it is possible

A customer received the following SMS from his bank:

875088 is SECRET OTP for txn of INR 2000.00 on Axis Bank card XX8911 at IRCTC on 13-02-21 16:09:25. OTP valid for 5 mins. Please do not share this OTP.


Write a Print Statement to generate the above SMS. (You may refer to the example given at the top.)


Write a program that implements

an algorithm using an IDE to solve the

problem at Cloud factory


The program displays random numbers on the screen and requests for the spelling of that number. It checks if the input is correct, then it displays another number. If the input is wrong, then it will send an error message and request another answer with 3 attempts.



Miss Ural wants to buy colors for Holi, and that too, at the cheapest cost!

There are N shops selling colors near Ural's house, where the i′th shop sells colors at rate of Ri for one unit. Also, i′th shop is located at a distance of Di kilometers from her house. Life was simple, but then petrol and fuel prices soared up. The current price of petrol to travel one kilometer is K

Find the minimum cost at which Miss Ural can buy one unit of color. she does not need to return back home.


  • The first line of input contains T, number of test cases in a file.
  • The next line contains two integers, N and K, as described in the problem statement.
  • The next line contains N space separated integers, denoting Di, i.e. distance of the shop.
  • The next line contains N space separated integers denoting Ri, i.e. rate of the color.


For test case, output minimum cost to purchase 1 unit of color.


  • 1≤T≤10^5
  • 1≤N≤10^5
  • Sum of N over all T in a test file does not exceed 10^6.
  • 1≤Ri,K,Di≤10^9
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS