Roots of a quadratic equation
This Program name is Roots of a quadratic equation. Write a Python program to Roots of a quadratic equation, it has two test cases
The below link contains Roots of a quadratic equation question, explanation and test cases
https://docs.google.com/document/d/1Wz9yIZ4GQON9tJEmSTAbcMunwn95k5PB/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
Diamond
This Program name is Diamond. Write a Python program to Diamond, it has two test cases
The below link contains Diamond question, explanation and test cases
https://docs.google.com/document/d/1LtfuUk5t1IPGh6yCOoJ2Tm3AZFZnVb1W/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
Sum of N terms in Harmonic series
This Program name is Sum of N terms in Harmonic series. Write a Python program to Sum of N terms in Harmonic series, it has two test cases
The below link contains Sum of N terms in Harmonic series question, explanation and test cases
https://docs.google.com/document/d/1kZEEzRlzAo_HT0I9HineNAMs_3PwlU2_/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
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.
IPL Match Details
Write a program that reads all the match outcomes and summarizes the information of all the matches.
Points are given to the teams based on the outcome of the match.
A win earns a team 3 points. A draw earns 1. A loss earns 0.
The following information is expected:
MP: Matches Played
W: Matches Won
D: Matches Drawn (Tied)
L: Matches Lost
P: Points
The team information should be displayed in descending order of points.
Input
6
CSK;RR;loss
RR;DD;draw
MI;KKR;win
KKR;RR;lossOUTPUT:
Team: RR, Matches Played: 3, Won: 2, Lost: 0, Draw: 1, Points: 7
Team: MI, Matches Played: 2, Won: 1, Lost: 0, Draw: 1, Points: 4
Team: DD, Matches Played: 3, Won: 0, Lost: 0, Draw: 3, Points: 3
Team: CSK, Matches Played: 2, Won: 0, Lost: 1, Draw: 1, Points: 1
Team: KKR, Matches Played: 2, Won: 0, Lost: 2, Draw: 0, Points: 0What is meant by python programming
Multiple of 5
This Program name is Multiple of 5. Write a Python program to Multiple of 5, it has two test cases
The below link contains Multiple of 5 question, explanation and test cases
https://docs.google.com/document/d/1CaAfaKaA53P5B79V-qGjZ4pyL6zKS45C/edit?usp=sharing&ouid=107231566038157986423&rtpof=true&sd=true
We need exact output when the code was run
First Prime Number
This Program name is First Prime Number. Write a Python program to First Prime Number, it has two test cases
The below link contains First Prime Number question, explanation and test cases
https://docs.google.com/document/d/1VyIWTfBFSXtNuAtIzk9bDqD_q3cMl1sU/edit?usp=sharing&ouid=107231566038157986423&rtpof=true&sd=true
We need exact output when the code was run
Composite Numbers in the range
This Program name is Composite Numbers in the range. Write a Python program to Composite Numbers in the range, it has two test cases
The below link contains Composite Numbers in the range question, explanation and test cases
https://docs.google.com/document/d/17kmAlgcnB4bRnS354mEsgmWK-R38gTsx/edit?usp=sharing&ouid=107231566038157986423&rtpof=true&sd=true
We need exact output when the code was run
Kth largest factor of N
This Program name is Kth largest factor of N. Write a Python program to Kth largest factor of N, it has two test cases
The below link contains Kth largest factor of N question, explanation and test cases
https://docs.google.com/document/d/1cwaapVqsbb1dhQ7IlL_0KEqplTc0MI60/edit?usp=sharing&ouid=107231566038157986423&rtpof=true&sd=true
We need exact output when the code was run