Create a python program to play Two truths and a lie, where the user guesses the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a python program to play "Two truths and a lie," where the user guesses the lie. The program should: 1. Print out three sentences, one of which is a lie about you 2. Ask the user for specific words, which indicate the lie. Example. "Which is a lie? Enter CULTURE, SOCCER, or SCHOOL" 3. Use IF-ELSE statements to print whether they are wrong or right. 4. If they are wrong, it should prompt for a second guess. Use IF-ELSE statements again to print a final response. Create a python program to play "Two truths and a lie," where the user guesses the lie. The program should: 1. Print out three sentences, one of which is a lie about you 2. Ask the user for specific words, which indicate the lie. Example. "Which is a lie? Enter CULTURE, SOCCER, or SCHOOL" 3. Use IF-ELSE statements to print whether they are wrong or right. 4. If they are wrong, it should prompt for a second guess. Use IF-ELSE statements again to print a final response.
Expert Answer:
Answer rating: 100% (QA)
Here is the required python code This program first defines three statements one of which is a lie T... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
If two jobs are available, one of which is fun and very respectable and the other unpleasant and dangerous, where would you expect wages to be higher? Is that really so in practice?
-
The resultant of two forces one of which is double the other is 260N. if the direction of the larger force is reversed and other remains unaltered, the resultant reduces to 180N.determine the...
-
For your analysis, choose 10 countries, one of which is the United States. Create a table showing whether each country applies a worldwide or territorial approach to international income taxation....
-
Graph the exponential equation. Then state the inverse function in logarithmic form and graph it. Then state the domain and range of each function. = ()* = to Domain: Range: Inverse: Domain: Range:...
-
What are the two basic sources of funds for all businesses?
-
List three demands of each type: task, role, interpersonal, and physical.
-
How are fixed and current assets distinguished from one another?
-
Bad-Debt Reporting from inception of operations to December 31, 2010, Fortner Corporation provided for uncollectible accounts receivable under the allowance method: provisions were made monthly at 2%...
-
The number N of cars produced at a certain factory in 1 day after t hours of operation is given by N(t) = 200t-5t, Osts 10. If the cost C (in dollars) of producing N cars is C(N) 40,000+ 3000N, find...
-
Determine the moment of each force about the bolt located at A. Given: FB = 40 lb a = 2.5 ft α = 20 deg γ = 30 deg FC = 50 lb b = 0.75 ft β = 25 deg Fc FB
-
Packages per Day 800,000 Error Rate 1% Error Packages Refund Amount Assitional Restitution Amount_$ Total Payout 8,000 $14.00 350.00 $364.00 Annual Refund $ 40,880,000 Annual Total Payout...
-
A1500 kg aircraft going35 m/s collides with a2000 kg aircraft that is parked and they stick together after the collision and are going 15 m/s after the collision. If they skid for 106.8 m before...
-
A solid insulating sphere of 1.0 cm radius is uniformly charged throughout its volume with an unknown total charge Q. The electric field generated by the charged sphere is measured to be 100,000 N/C...
-
A conducting sphere of 4.0 cm radius has a cavity of 1.0 cm radius (sharing the same center). The conducting sphere has a total charge of + 15 nC. In addition, a - 12.0 nC point charge is located at...
-
3) A bicycle tire pump has a piston with area 0.40 in 2 . If a person exerts a force of 15 lb on the piston while inflating a tire, what pressure does this produce on the air in the pump? 4) A large...
-
Choose a product you buy on regular basis (something you buy more than 4x per year). Think about how the supply and demand changes based on things like seasons, price, advertising/media, etc. 1 -What...
-
The team has come to a conclusion regarding Tilt Battery company, and they present their findings to leadership. Kim, the CEO, finds their research fascinating and praises their efforts. They will...
-
A 2500-lbm car moving at 15 mi/h is accelerated at a constant rate of 15 ft/s 2 up to a speed of 50 mi/h. Calculate force and total time required?
-
If 25 people are randomly selected, find the probability that no 2 of them have the same birthday. Ignore leap years.
-
Test hypotheses When analyzing the last digits of telephone numbers in Port Jefferson, it is found that among 1000 randomly selected digits, 119 are zeros. If the digits are randomly selected, the...
-
Listed below are the numbers of home runs in major league baseball for each year beginning with 1990 (listed in order by row). Is there a trend? Dotplots. In Exercises 11 and 12, construct the...
-
Prepare a sales ledger control account from the following information for July 19X9, carrying down the balance at 31 July: 19X9 July 1 July 31 Sales ledger balances Sales journal 9,700 99,280 Bad...
-
The trial balance of Queen and Square Ltd revealed a difference in the books. In order that the error(s) could be located it was decided to prepare purchases and sales ledger control accounts. From...
-
The following extracts have been taken from the subsidiary books of the business owned by D Jenkinson for the month of April 19X0. It should be noted that the balances in the accounts of D Jenkinsons...
Study smarter with the SolutionInn App