Python Answers

Questions answered by Experts: 5 288

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

Given a M x N matrix write a program to print the matrix after ordering all the elements of the matrix in increase order
Give a string writen a program to return the sum and average of the digits of all numbers that appear in the string igonring all other characters
Give date -time D, write a program to print the time left for the next New Year
Give two dates D1 and D2 write a program to count the number of saturdays and sundays from D1 to D2 the date in string formate is like 8feb 2021

You are given the temperature T of an object in one of Celsius, Fahrenheit, and Kelvin scales.

Write a program to print T in all scales viz Celsius, Fahrenheit, and Kelvin.

Formula to convert from Fahrenheit F to Celsius C is C = (F - 32) * 5 / 9.

Formula to convert from Kelvin K to Celsius C is C = K - 273.

Here "C", "F", "K" represent that the temperature scale is in Celsius, Fahrenheit and Kelvin scales respectively.

The input contains the temperature (a number) and the unit of the temperature scale (C, F, K) without any space.

The output contains temperature in Celsius, Fahrenheit and Kelvin scales

The first line of output should contain the Celsius value and the unit of the Celsius without any space.For example, if the given temperature Value is 25C then Celsius value is 25.0C, Fahrenheit value is 77.0F, and Kelvin value is 298.0K.

Sample Input 1

25C

Sample Output 1

25.0C

77.0F

298.0K

Sample Input 2

37.5F

Sample Output 2

3.06C

37.5F

276.06K




Pattern - 10
Write a program that print Multiplication Number in Column
Suppose there is two different types of dictionary, one dictionary contains employee id and name of employee and another dictionary contains employee id and salary. Take 5 employee
details. Now display the employee's designation from the following condition:
If salary between 80,000 to 90,000:designation:Project Manager
salary between 70,000 to 80,000:designation:Team Leader
salary between 60,000 to 70,000:designation:Software Developer
salary between 50,000 to 60,000:designation:Software Trainee
Display result in the form of dictionary.
Pattern - 2:
Write a program that print Right-angled Pattern with Same Character
Pattern - 5:
Write a program that print Equilateral triangle pattern with characters
Write a program that print Equilateral triangle pattern of characters/alphabets
LATEST TUTORIALS
APPROVED BY CLIENTS