1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vivado [14]
4 years ago
9

Python: initalize the variable first_name with the value from the user prompt "What is your first name? " initalize the variable

first_name with the value from the user prompt "What is your last name? " concatenate first and last name and store in the variable full_name print the full name as a complete sentence including punctuation.
Computers and Technology
1 answer:
oksian1 [2.3K]4 years ago
4 0

first_name = input("What is your first name")

last_name =] input("{What is your last name")

full_name = first_name + last_name

print("My full name is ", full_name)

You might be interested in
What is the difference between special purpose software and customized software​
Leviafan [203]
The choice of a specific software product model depends on your business specs. General-purpose solutions cover a set of the most common functions. The tailor-made one allows you to stand out for the individual approach for business processes and tasks.Jul 27, 2020
8 0
3 years ago
Read 2 more answers
List two functions of the UPS​
Alja [10]

Answer:

To protect equipment in the event of power-cut

To ensure stable supply of current (protects against surges)

Explanation:

4 0
3 years ago
The following program results in a compiler error. Why? int FindMin(int a, int b) { int min; if (a < b) { min = a; } else { m
Mila [183]

Answer:

The answer is "Variable min is defined in the "FindMin()" method, but is used in the main method".

Explanation:

Following are the correct code to the given question:

#include <iostream>//header file

using namespace std;

int FindMin(int a, int b) //defining a method FindMin that takes two integer parameters

{

   int min; //defining integer variable

   if (a < b) //use if to check a value less than b

   {

       min = a; //holding smallest value in min

   }

   else //defining else block

   {

       min = b;//holding smallest value in min

   }

   return min; //return min value

}

int main() //defining main method

{

   int x,y,min; //defining integer variable

   cin >> x; //input value

   cin >> y; //input value

   min = FindMin(x,y); //holding method return value in min variable

   cout<<"The smaller number is: "<<min<< endl; //print method value with message

   return 0;

}

Output:

Please find the attached file.

In the code, a method "FindMin" is defined that takes two integer parameters "a,b" and inside the method, an integer variable "min" is declared that uses a conditional statement that checks the smallest value that store in the min variable and return its value.

In the main method, three integer variable is declared in which two is used for hold value from user-end pass into the method and store its return value in min variable and print value with the message.

7 0
3 years ago
Is sonic better than piranha plant
nevsk [136]

Yes, well, in my opinion at least, Sonic will always be better than Piranha Plant.

7 0
4 years ago
Read 2 more answers
3. How has air - conditioning affected human life?​
meriva

Answer:

Sudden changes in temperature and humidity affect the respiratory system. ... The air circulation can transmit infectious respiratory diseases. Airborne dust and fungi can cause allergic reactions. Air conditioning is associated with chronic rhinitis and pharyngitis, throat irritation and hoarseness.

6 0
3 years ago
Other questions:
  • What would make this comparison statement False? Complete with the appropriate relational operator. "G" _____= "G"
    10·1 answer
  • The function takes two string parameters; the first is the name of a file and the second is text. Complete the function to appen
    7·1 answer
  • What device acts like a wireless base station in a network, acting as a bridge between wireless and wired networks?
    11·1 answer
  • In what order are ribbons organized? From Microsoft Word
    7·1 answer
  • How many fonts are there in a theme?<br> A. 1<br> B. 2<br> C. 4<br> D. 5
    10·1 answer
  • If you see ##### in a cell, you should
    10·1 answer
  • If you want to display information from a database to someone who is not a user of the database, you will have to use:
    7·1 answer
  • Which camera required the photographer to project the image on paper
    9·2 answers
  • According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?
    7·2 answers
  • Nadeen runs a website on vegan lifestyle. She wants to spread the word and make more people visit her site to read her recipes a
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!