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
suter [353]
3 years ago
14

In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they w

ere born. Here is a sample execution of the program with the user input in bold:What is your name? AmandaHow old are you? 15Hello Amanda! You were born in 2005.
Computers and Technology
1 answer:
Neporo4naja [7]3 years ago
5 0

Answer:

def main():

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

   if not name == "" or "":

       age = int(input("What is your age? "))

       print("Hello " + name + "! You were born in " + str(2021 - age))

main()

Explanation:

Self explanatory

You might be interested in
Whats the best apex legend?
Ugo [173]

Answer:

Apex Legends combines royal genre products and hero-shooters for something fantastic like Overwatch. Please note that you've got one of the smoothest, snappest and most satisfying royal battle games since Fortnite and PUBG (the ex-callof duty developers) by the same team as the Titanfall franchise. Apex Legends is really characterized by its diverse range of characters and unique skills. While everyone is still subject to identical weapons, grenades and health packs, they can turn the tide of fighting quickly. Don't go in on your legends without brushing them. Here are all the characters ranked in Apex Legends.

Explanation:

Lifeline. Lifeline.

Skull. There was a mistake.

Octane.-Octane. There was a mistake.

Pathfinder.-Pathfinder. There was a mistake.

Bloodhound.-Bloodhound. Bloodhound is next up. Next up. There was a mistake.

Gibraltar.-Gibraltar. The ultimate of GIbraltar is amazing and it matches up well with his globe. There was a mistake.

Wonder. Wonder. Mirage is still in the bottom of Legends, one of my favorite characters in the game. There was a mistake.

Awkward. We've got Caustic at the bottom of the list. There was a mistake.

4 0
3 years ago
Read 2 more answers
Orifice tubes are A. coded in American models only. B. coded by number for easy identification. C. similarly but not exactly siz
timurjin [86]
I'd go for (C) similarly but not exactly sized

Basically, to explain an orifice tube in Layman’s context, it is a car’s air conditioning system and is the exact place where the cold happens. Not all orifice tubes are standard sized and this means that different model vehicles use different sizes. These tubes are often color-coded for easy identification.






8 0
3 years ago
When one citizen has access to digital resources and the other does not, the opportunity gap existing between them is called the
allsm [11]
The digital divide :)
5 0
3 years ago
Checking authentication, checking authorization and access control, auditing systems, and verifying firewalls and other filters
nadezda [96]

Answer: Logical security list

Explanation:Logical security list that is used for checking of the authentication and authorization for the organizations. It consist the safeguarding the software, security access of password and other keys, system auditing, stages of the security etc.

These factors helps in the maintaining the level of the security and only authorized access to place in the system of a particular organization.Other options are incorrect because physical security system consist of the guards , locks etc physical devices, response plane is the feedback strategy and whiltelist is related with the acceptable people.

3 0
3 years ago
Who was dobri dobrev?​
Anastasy [175]

Answer:

<h3>Dobri Dimitrov Dobrev, better known as Grandpa Dobri, Elder Dobri or The Saint of Bailovo, was a Bulgarian ascetic who walked over 20 kilometres each day to sit or stand in front of the Cathedral of Alexander Nevsky in Sofia to collect money for charitable causes.</h3>
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following operations would best allow you to place 3D building models at their proper height on the terrain (e.g.,
    8·1 answer
  • Search the internet for news of a motor vehicle collision in your community involving drugs or alcohol. Keeping in mind that you
    8·1 answer
  • Write a method so that the main() code below can be replaced by the simpler code that calls method mphandminutestomiles(). origi
    14·2 answers
  • The U.S. economy is a free enterprise system.<br><br> True<br> False<br><br> PLEASE DONT GUESS
    8·2 answers
  • A company has its branches spread over five places in a state. It has become difficult for employees to transfer information and
    7·1 answer
  • What is structured​ knowledge?
    10·1 answer
  • Google’s adwords system provides a quality score as a measure of _____, which indicates the usefulness of an ad message to consu
    6·1 answer
  • Suppose there are 69 packets entering a queue at the same time. Each packet is of size 7 MiB. The link transmission rate is 1.7
    9·1 answer
  • A homeowner uses a smart assistant to set the house alarm, get packages delivery updates, and set time on the outdoor lights. Wh
    14·1 answer
  • Complete the sentence.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!