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
to create an app for a mobile device, yourself, you would use BLANK software like Swift, Corona or Scratch.
stiv31 [10]
True

All the programming languages mentioned above synchronizes best with contemporary mobile platforms. Corona, for instance, is built on the programming language LUA and is used in the creation of Android mobile apps, primarily games. 

Swift on one hand is best for an apple creation (IOS and OSX). Swift is an open source which is extremely easy to learn, and is the future of mobile app development. 

On the other hand, scratch is a programming language where children can program and is used as an introductory language. Skills learned from using scratch can be applied to other basic languages like Java and python.

7 0
3 years ago
)duplicate hash code
mash [69]

Answer:A) Create collisions

Explanation: Hash codes are the numeric codes present in the programming infrastructures which are responsible for focusing on the object while the equality testing is in process. Hash codes does not display the property of having a permanent value.

When there is the creation of the duplicate hash codes then ,chances of collision arise because they search for the particular object and cannot have the same numeric value.

5 0
3 years ago
Which part of an I-statement involves a description of your needs or feelings?
kherson [118]

The part of an I-statement that involves a description of your needs or feelings is the Feelings Statement.

The feelings statement is a description of your feelings that is linked to a particular situation. Vague feelings often create frustration in the listener.

5 0
4 years ago
Create a Python program by defining a function that calculates the year of birth of a person whose age is known to you.(You may
Alchen [17]

Answer:

  1. import datetime
  2. def get_year_of_birth():
  3.    age = int(input("Enter your age: "))  
  4.    current_year = datetime.datetime.now().year  
  5.    year_of_birth = current_year - age  
  6.    return year_of_birth  
  7. print(get_year_of_birth())

Explanation:

Firstly, we import datetime module as we need it to get the current year (Line 1).

Next, create a function named it as get_year_of_birth (Line 3). Prompt user to input age and assign it to a variable (Line 4). Next, we use now() method from datetime module to get the current date and time and extract the year component (Line 5).  At last, calculate the year of birth by subtracting the current_year with age and return it as output (Line 6-7).

3 0
3 years ago
In the replace dialog box, clicking what button changes highlighted text
Andre45 [30]

ANSWER: Replace Button

EXPLANATION: After opening the replace dialog box and putting the desired values in the boxes, we need to click the 'Replace' button to change the highlighted text. If the word which needs to be changed appear multiple times in the document, then clicking on 'Replace All' is advised as it would change all the old words with the new ones.

7 0
3 years ago
Read 2 more answers
Other questions:
  • You are attempting to open a file containing a list of integer numbers, each on a separate line, and read them into Python as in
    6·1 answer
  • python An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase an
    14·2 answers
  • In server-side discovery pattern, load balancing and routing of the request to the service instances are taken care of by the se
    9·1 answer
  • The northern half of this continent is primarily rainforest and savanna.
    5·1 answer
  • Why wouldn't a game using just run-length encodings be challenging?
    9·1 answer
  • FIFTY POINTS IF YOU CAN HELP ME!!!!
    11·1 answer
  • Staff in several departments interact with the order processing system and will be affected by any
    9·1 answer
  • Help me to solve please​
    8·2 answers
  • List three natural defects of wood<br>​
    6·2 answers
  • While storms could be a cause, power______ are more likely to be caused by disturbances from high-demand equipment in a home or
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!