Sum of Odd Numbers
This Program name is Sum of Odd Numbers. Write a Python program to Sum of Odd Numbers
The below link contains Sum of Odd Numbers question, explanation and test cases
https://drive.google.com/file/d/1XyawxIFSDpbEnTwPW0j0uCVJ1vPZ_ysM/view?usp=sharing
We need exact output when the code was run
Sum of Even numbers
This Program name is Sum of Even numbers. Write a Python program to Sum of Even numbers
The below link contains Sum of Even numbers question, explanation and test cases
https://drive.google.com/file/d/1ZB7K9IsnO1Slj4LIMnJCk4NEVsjQDLeq/view?usp=sharing
We need exact output when the code was run
Letter, Digit or Special Character
This Program name is Letter, Digit or Special Character. Write a Python program to Letter, Digit or Special Character, it has two test cases
The below link contains Letter, Digit or Special Character question, explanation and test cases
https://drive.google.com/file/d/1iGIZxhoPoL67KNkroEgQpaIo3Vh8w7dE/view?usp=sharing
We need exact output when the code was run
Remove Vowels in a Sentence
This Program name is Remove Vowels in a Sentence. Write a Python program to Remove Vowels in a Sentence
The below link contains Remove Vowels in a Sentence question, explanation and test cases
https://drive.google.com/file/d/12FtBgqjIiaxVMyWPwI4Ys141HkUJJnpC/view?usp=sharing
We need exact output when the code was run
Palindrome - 3
This Program name is Palindrome - 2. Write a Python program to Palindrome - 3
The below link contains Palindrome - 3 question, explanation and test cases
https://drive.google.com/file/d/1ZELb2KSvV36MM4kiF-dTFTC43CeUiFH9/view?usp=sharing
We need exact output when the code was run
Palindrome - 2
This Program name is Palindrome - 2. Write a Python program to Palindrome - 2, it has two test cases
The below link contains Palindrome - 2 question, explanation and test cases
https://drive.google.com/file/d/1j4ZI4ICjvLPbHyB-v2SQ7ncojkMyheBD/view?usp=sharing
We need exact output when the code was run
For Apple store services and apps(like games, videos, etc ): you can gain access if you are15years old or less and your parent has an Apple ID. If you are 16 years old or more you need to have your own Apple ID.
Write a program that uses short circuit logic to tell someone if they are legal to gain access to Apple store services. First ask them how old they are, whether they have an Apple ID or not, and whether their parent has an Apple ID or not.
Write a program that determines whether you can run for president. To run for president the constitution states: No Person except a natural born Citizen, or a Citizen of the South Africa(SA), at the time of the Adoption of this Constitution, shall be eligible to the Office of President; neither shall any Person be eligible to that Office who shall not have attained to the Age of thirty five Years, and been fourteen Years a Resident within the South Africa. Ask three questions of the user and use the guess and check pattern to determine if they are eligible to run for President.
The sum of the first n positive integers can be computed by the formula
sum(1..n) = 1 + 2 + 3 + 4 + · · · + n = n(n + 1)/2
Write a short Python program that computes the sum of the first 100 positive integers and prints it to the screen, using format specifiers when printing instead of converting each item to a string. Use variables to represent the 1, the 100, and the result of the computation. Your program must compute the 5050 value. You cannot just print the result to the screen. You must compute it first from the 100. The goal is for the output to look exactly the same.The output is as shown below:
sum(1..100) = 5050
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.Input
The first line of the input contain a temperature Value in one of Celsius, Fahrenheit, and Kelvin scales.Output
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