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

You are given a string, write a program to find whether the string is palindrome or not.

Note: Treat uppercase letters and lowercase letters as same when comparing letters. Ignore spaces and quotes within the string.


Input

The first line of input is a string.

Output

The output should be

True or False.Explanation

In the given example, the string

No lemon no melon is a palindrome as we are ignoring spaces. So, the output should be True.


Was it a cat I saw? so the output should be False


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 in each line in the format similar to input and the value of the temperature is rounded to 2 decimal places.


Given an integer number

N as input. Write a program to print the hollow right-angled triangular pattern of N lines as shown below.Note: There is a space after each asterisk (*) character.


Smallest Among 3 Numbers

Write a Python Program of Smallest Among 3 Numbers.It Consists of two test cases


The below link contains Smallest Among 3 Numbers - question, explanation and test cases


https://drive.google.com/file/d/1K71VQiyuDGYWTPDW3v2r6G9V3ZV8If0y/view?usp=sharing


We need all test cases can be come while code was run

Sum or Product

Write a Python Program of Sum or Product.It Consists of two test cases



The below link contains Sum or Product - question, explanation and test cases



https://drive.google.com/file/d/1-1Wae8SU_T7ECmBm9dKdGUwBjQ4sg28p/view?usp=sharing



We need all test cases can be come while code was run
Relation b/w Numbers

Write a Python Program of Relation b/w Numbers.It Consists of two test cases



The below link contains Relation b/w Numbers - question, explanation and test cases



https://drive.google.com/file/d/1mHvnUllyrlKc1x4fghejdTPdrK5PztfR/view?usp=sharing



We need all test cases can be come while code was run

Increment the number

Write a Python Program of Increment the number.It Consists of two test cases


The below link contains Increment the number - question, explanation and test cases


https://drive.google.com/file/d/1aV-eysW_M5HQQ_u3Lx7EcM3UowScytTr/view?usp=sharing


We need all test cases can be come while code was run

Positive or Negative

Write a Python Program of Positive or Negative.It Consists of two test cases


The below link contains Positive or Negative - question, explanation and test cases


https://drive.google.com/file/d/1XdyNtoVwIHz1PCcmapAAgm2w_X2TFhxV/view?usp=sharing


We need all test cases can be come while code was run

Honor Student

Write a Python Program of Honor Student.It Consists of two test cases


The below link contains Honor Student - question, explanation and test cases


https://drive.google.com/file/d/1lCSgG3og00-_lqFMIQK8hixazR-4InrJ/view?usp=sharing


We need all test cases can be come while code was run

n the given example, N = 3 and the input integers are 2, 3, and 7.So, the output should be 2 x 3 x 7 = 42.


LATEST TUTORIALS
APPROVED BY CLIENTS