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
serious [3.7K]
3 years ago
12

python. create a program that asks the user to input their first name and their favorite number. Then the program should output

the user's name and favorite number in the following format: "[first names]'s favorite number is [number]!"​
Computers and Technology
1 answer:
blondinia [14]3 years ago
7 0

name = input("What is you name?")

fav_number = input("What is you favorite number?")

print(name + " your favorite number is " + fav_number + "!")

You might be interested in
Write a program which asks the user to enter N numbers. The program will print out their average. Try your program with the foll
Likurg_2 [28]

Answer:

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

   // variables

int n;

double average,sum=0,x;

cout<<"enter the Value of N:";

// read the value of N

cin>>n;

cout<<"enter "<<n<<" Numbers:";

// read n Numbers

for(int a=0;a<n;a++)

{

   cin>>x;

   // calculate total sum of all numbers

   sum=sum+x;

}

// calculate average

average=sum/n;

// print average

cout<<"average of "<<n<<" Numbers is: "<<average<<endl;

return 0;

}

Explanation:

Read the total number from user i.e "n".Then read "n" numbers from user with for loop and sum them all.Find there average by dividing the sum with n.And print the average.

Output:

enter the Value of N:5

enter 5 Numbers:20.5 19.7 21.3 18.6 22.1

average of 5 Numbers is: 20.44

7 0
4 years ago
You are working on a group project in which each member is required to collaborate on the write up the group wants to see what e
777dan777 [17]

Answer:

Track Changes?

Explanation:

5 0
2 years ago
Please its argent and I will give you BRAINLIEST ANSWER 6. How would you confirm that a colourless liquid given to you is pure w
xz_007 [3.2K]

Answer:

Evaporate the colourless liquid on a low flame. If no residue is left and boiling exactly at 100 ºC then it is pure water otherwise not.

Explanation:

6 0
3 years ago
Does anybody have the full answer sheet for Cisco Packet Tracer 11.10.1 (Design and implement a vlsm addressing scheme)? Will gi
nalin [4]

Answer:

Red font color or Gray highlights indicate text that appears ... In this lab, you will design a VLSM addressing scheme given a network ... You have been asked to design, implement, and test addressing ...

Explanation:

7 0
3 years ago
You add a style sheet link between which opening and closing tags?
Likurg_2 [28]

<link> tag

The <link> tag is most often used to link to external style sheets. The <link> element is an empty element, it contains attributes only.

8 0
3 years ago
Other questions:
  • Ted is asked to create a page containing his family photos for a family reunion website. He will has about 20 pictures to post,
    14·1 answer
  • In the dental industry, light-activated adhesives have been used for decades to help adhere braces to teeth as well as being use
    6·2 answers
  • What is the problem we can't build shelter on mars ?
    6·1 answer
  • What would be a standard way for anyone outside an agile team( for example, delivery partner partner of the account, head of the
    14·1 answer
  • 6.25 (Prime Numbers) A positive integer is prime if it’s divisible by only 1 and itself. For example, 2, 3, 5 and 7 are prime, b
    15·1 answer
  • What is the central idea of the second section:
    14·1 answer
  • Day 1 of seeing if anyone will buy me a psn gift card (if u do u get brainliest and thanks + alot of points
    11·1 answer
  • A bubble starts by comparing the first item in the list to all the remaining items, and swaps where the first item is ____ a lat
    9·2 answers
  • Ken is a mobile app developer. He is designing a mobile app that offers tips and guidance to people interested in learning jazz
    8·2 answers
  • How to get flash to work on chrome?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!