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
Gekata [30.6K]
3 years ago
6

For this project, you will be developing a PY file that contains your code in PyCharm and evaluating a few of the features of Py

Charm. If you haven’t already, be sure to install the PyCharm IDE and Python on your computer. Review the tutorials in the Module Two resources to help you install and get started with PyCharm.
In PyCharm, write a program using python that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input in bold:

What is your name? Amanda
How old are you? 15

Hello Amanda! You were born in 2005.
Computers and Technology
1 answer:
Arisa [49]3 years ago
8 0

import datetime

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

age = int(input("How old are you? "))

year = datetime.datetime.today().year

print("Hello {}! You were born in {}.".format(name, year - age))

I hope this helps!

You might be interested in
Some of the items below indicate the steps required to move a slide to a different location in a presentation. Select those step
Ivan

Answer:

Following is the order of steps needed to move a slide to different location:

First: Select the slide

Second: Hold the slide button down

Third: Drag the slide to the desired place.

N/A : Enter the slide position desired.

N/A: Select Move from the Tools menu.

N/A: Switch to the Notes view.

I hope it will help you!

8 0
3 years ago
Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the ga
Ierofanga [76]

Answer:

x^{2} \left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right] \int\limits^a_b {x} \, dx  \lim_{n \to \infty} a_n \sqrt{x} \sqrt[n]{x} \pi \alpha \frac{x}{y} x_{123} \beta

Explanation:

6 0
3 years ago
Read 2 more answers
Tiana also wants to average the combined scores for each employee. In cell N5, enter a formula using the AVERAGEIF function and
Butoxors [25]

Answer:

=AVERAGE(N1:N5)

Explanation:

7 0
3 years ago
What is computer generation.<br>name that generations ​
Brut [27]
Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.

Generation & Description
1 First Generation
The period of first generation: 1946-1959. Vacuum tube based.

2 Second Generation
The period of second generation: 1959-1965. Transistor based.

3 Third Generation
The period of third generation: 1965-1971. Integrated Circuit based.

4 Fourth Generation
The period of fourth generation: 1971-1980. VLSI microprocessor based.

5 Fifth Generation
The period of fifth generation: 1980-onwards. ULSI microprocessor based.
7 0
3 years ago
Read 2 more answers
What is a well known tv show or movie that uses comedy or satire
castortr0y [4]
The simpson’s, south park, family guy, the office, american dad, etc.
7 0
3 years ago
Other questions:
  • Pls help!!!!!!!!!!!!
    8·1 answer
  • A batholith is an example of a(n) _____ igneous rock (one of the two main igneous rock groups).
    9·2 answers
  • Two of the major sources used today for obtaining information to create computer maps are satellites and _____________.
    11·2 answers
  • A software EULA is an agreement related to which of the following?
    11·2 answers
  • When was third battle of Panipat fought​
    8·1 answer
  • What is the primary purpose of source code editor features such as keyword hi lighting and auto-completion A.to speed up the cod
    7·1 answer
  • Which of the following students would be best suited to pursue a career in
    7·2 answers
  • When solving a problem in a group situation, which of the following traits should be demonstrated?
    8·1 answer
  • If you could build your own personal computer, what components would you purchase? Put
    8·1 answer
  • When an EC2 instance is being modified to have more RAM, is this considered Scaling Up or Scaling Out?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!