Write a program that has a conversation with the user

Assignment Help Programming Languages
Reference no: EM131878813

Assignment - Write a program that has a conversation with the user. The program must ask for both strings and numbers as input. The program must ask for at least 4 different inputs from the user. The program must reuse at least 3 inputs in what it displays on the screen. The program must perform some form of arithmetic operation on the numbers the user inputs.  Please turn in your .py file as well as a screenshot of your program's output.

Please include comments in your code to explain how it works

An example program run might look like (have fun with this and be creative):

'What is your name?'

"Josh"

'Thanks, Josh.  What is your favorite color?'

"green"

'Mine too.  Do you also like Ice Cream?'

"No"

'Josh, how old are you?'

"40"

'... and how many siblings do you have?''

"3"

'That means you are one of 4 kid(s). Is green the favorite color of anyone else in your house?'

Reference no: EM131878813

Questions Cloud

Why the expected cash flows would be lower : Uncertainty Surrounding a Foreign Target: What are some of the key sources of uncertainty in Blore's valuation of the target?
Write a program that picks a random number : Extend your guessing game from last week. Write a program that picks a random number from 1-100. Then ask the user to guess a number
Sales department and the engineering department : Find the names and salary of each employee who works in both the Sales Department and the Engineering department
Price of the bond implied by the duration approximation : What would be the percentage change in the price of the bond implied by the duration approximation?
Write a program that has a conversation with the user : Write a program that has a conversation with the user. The program must ask for both strings and numbers as input
Why researchers believe trade is not the main cause : Briefly explain three reasons for why researchers believe trade is not the main cause. Which countries are land-abundant?
Display the output to the screen : Students, particularly those in elementary school, sometimes have to make a line such as "I will not chew gun in class." on the board a number of times.
Firm financing and investing decisions intertwined : estimating daily project cash flows and then using them in the analysis? How are the firm's financing and investing decisions intertwined?
What is bccis cost of equity capital : The debt sells at par. Buildwell pays tax at 40%. What is BCCI’s cost of equity capital?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd