Write a python program that prompts the user for two inputs

Assignment Help Python Programming
Reference no: EM132354843

Question

Write a Python program that prompts the user for two inputs, first name and last name. The program should then generate two outputs.

One output must be a greeting with the full name of the user, properly spaced. The second output should display the user's name in the usual alphabetical format, with a single space after the comma. See Sample Outputs.

Sample Output 1

Enter your first name Otto

Enter your last name Mattik

Hello, Otto Mattik

Here is your name in alphabetical format

Mattik, Otto

Sample Output 2

Enter your first name Anna

Enter your last name Rhobick

Hello, Anna Rhobick

Here is your name in alphabetical format

Rhobick, Anna

Reference no: EM132354843

Questions Cloud

Calculate the npv for project : 1. Calculate the NPV for this project. 2. Calculate the IRR for this project, to 2 decimals, like 25.63%.
Write a python program that will validate a password : Write a python program that will Validate a password. The Program will have the user input a password. Check to see if all requirements are met
Types of policy communication : Explain why it is important for an analyst to know when to create a policy memorandum versus an executive summary when presenting information.
What are some community services available to the population : What are some community services available to this population? As a mental health advocate, what would be your recommendation as an alternative to a judge.
Write a python program that prompts the user for two inputs : Write a Python program that prompts the user for two inputs, first name and last name. The program should then generate two outputs.
How much power each has had in setting the agenda : Choosing any policy issue that you are particularly interested in, Discuss how much power each has had in setting the agenda.
Display the monetary value of the change in currency format : Write a program that determines the value of a jar of change. Prompt the user for the number of quarters, dimes, and nickels and then display the monetary value
Explain how first amendment is applied to criminal cases : For this week's Assignment you will create a minimum 10 slide (excluding the title and reference slides) PowerPoint presentation. In your presentation.
Empirical scientific evidence and anecdotal evidence : Consider difference between empirical scientific evidence, anecdotal evidence. Explain which is considered more useful to study of public policy and state why.

Reviews

Write a Review

Python Programming Questions & Answers

  Design flowchart that ask actual value of piece of property

Design a flowchart and Python code that ask for the actual value of a piece of property and displays the assessment value and the property tax.

  Creates and returns a tuple containing details of employee

CE151 - creates and returns a tuple containing details of the employee specified by the string. The string should be assumed to have the format

  Create functions and call those functions to display outputs

Create additional functions and call those functions to display outputs. Write code for each function calling functions from step one above to display outputs.

  Write a function comp(d1,u1,d2,u2)

Write a function comp(d1,u1,d2,u2)

  What python ides are being used in the industry

Research the differences between JES, IDLE, and PyCharm. Compare/contrast features (a chart might be helpful). What Python IDEs are being used in the industry?

  Ida to reverse engineer a piece of shellcode

You are a Malware Investigator at 0xC0ff33, Inc and an incident responder came across injected shellcode during an investigation. He has done all he can in IDA and has passed on the .idb file to you. Figure out what the purpose of the malware was ..

  Create a class variable and assign an initial value of zero

Python Programming Assignment - You need to create a class variable and assign an initial value of zero to it and update it throughout your program

  Write python code that takes word and converts to pig latin

Write Python code that takes a word and converts it to Pig Latin. If the input consists of multiple words or contains punctuation, your code should print a suitable error message

  Write a program to that displays a table

Write a program to that displays a table of the Celsius temperatures 0 through 20 and their Fahrenheit and Kelvin equivalents

  Write python code to integrate several datasets

FIT5196 - Data wrangling - Monash University - write Python code to integrate several datasets into one single schema

  Build a dictionary that contains the movie collection

Build a dictionary that contains the movie collection. Combine movie title and director into a list. The response paper should be in APA format.

  Write a program that acts like a simple calculator

You will write a program that acts like a simple calculator for binary numbers. You should read in a string of input that has the format: number operator number.

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