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:...
-
Mathew Philp, president of North Idaho Mining, Ltd., has made budgets a major focus for managers. Making budgets was such an important goal that the only two managers who had missed their budgets in...
-
Operation of an MHD converter requires an electrically conducting gas. It is proposed to use helium gas seeded with 1.0 mole percent cesium. The cesium is partly ionized (Cs Cs`...
-
List three ways to get input from the console and convert that input to the desired data type.
-
Alternative allocation bases for a professional services firm. The Walliston Group (WG) provides tax advice to multinational firms. WG charges clients for (a) Direct professional time (at an hourly...
-
Define the relational model? What does the relational model consist of? What are the 4 relational models?Discuss
-
? ?? Journalize the closing entries. Include Posting References, using the account numbers in your spreadsheet. Refer to your answers from Chapter 4, Part 1 to complete this part. If an amount box...
-
Example 2 LE MIRABI A basket contains 10 red balls and 4 white balls. If three balls are taken from the basket one after the other, determine the possible values of the random variable R representing...
-
A disk with a moment of inertia about its center of mass of 1 kgm is rotating about its center of mass. Its angular velocity as a function of time is given by w()-2kt where k = 4.1 rad. Find the...
-
In Dancing Trout restaurant in New Westminster, the total annual sales in 2022 were $334,472, and the profit was quite good at $56,000. If we know that the contribution in this restaurant was .56,...
-
Business Decisions Identify the type of business decision for the following accounts. (write the correct answer as Operating decision, Investing decision, or Financing decision) Change in long-term...
-
Write a program that prompts the user to enter three lowercase words, one at a time. Then, create an uppercase acronym based on the first letter of each word. Call the program AcronymMaker.java....
-
A well-known WEISER Brewery businessman needs to calculate the CAPM of his company. For the calculation, you have the following information: Risk-free rate 5% Return on the market portfolio 11%...
-
The graphs below show the production possibility frontiers (PPFS) of Carolinia and Brodenstan, two countries that produce only coffee and bread. Initially-before specialization and trade-Carolinia...
-
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...
-
Xenon oscillations are a phenomenon at higher levels of power where xenon-135 loss due to neutron capture is dominant. For example, in a typical large thermal environment, if Xe-135 burnup is 10...
-
Explain the plant states considered for safety analysis and the advantages of new states.
-
Explain the relative criteria that can provide relative safety in nuclear reactors.
Environmentally Harmonious Chemistry For The 21st Century 1st Edition - ISBN: 1608764281 - Free Book
Study smarter with the SolutionInn App