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
DiKsa [7]
3 years ago
8

In this unit, you developed your skills at coding in Python. In this lab, you will put those skills to work by creating a progra

m.
Your program should do the following:

Ask the user for their first name
Say “Hello” followed by the user’s first name
Ask the user how old they are
Tell the user how old they will be in 10 years and in 20 years
Tell the user how old they were 5 years ago

so this is the question and I have it finished but I need someone to correct it because I think some of it is wrong. please I really need help.

Computers and Technology
2 answers:
Arturiano [62]3 years ago
5 0

Answer:

Don't forget to close any parentheses you open. Other then that everything looks fine, I just polished it a little bit

Explanation:

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

print("Hello", name)

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

print("In 10 years you will be", (age+10))

print("In 20 years you will be", (age+20))

print("5 years ago you were", (age-5))

xenn [34]3 years ago
4 0

Answer:

it looks great to me

Explanation:

You might be interested in
Which is not a renewable energy resource?
Lyrx [107]
Natural gas.


-----------------
3 0
3 years ago
Read 2 more answers
Look at comments and read it please.
Brilliant_brown [7]

Answer: I need a point bruhhh

Explanation:

3 0
3 years ago
Josh is learning about hackers known for causing damage and altering functions of websites. Which type of hacker is he learning
amid [387]

Answer:

WHITE HACKERS

Explanation: When a white hat hacker discovers a vulnerability, they will exploit it only with permission and not tell others about it until it has been fixed. In contrast, the black hat will illegally exploit it or tell others how to do so. The gray hat will neither illegally exploit it nor tell others how to do so.

4 0
3 years ago
Read 2 more answers
Determine the exact output of the code:
stiv31 [10]

Answer:

3

Explanation:

The function floor() is used to give the integer which is smaller than or equal to the provided decimal value.

for example:

let a=5.8

floor(a);

the function provides the value 5 (smaller than or equal to 5.8).

In the given code:

variable num assigns the number 3.14.

then, floor(3.14) gives the value 3 (smaller than or equal to 3.14).

then, the echo print the value on the screen.

Therefore, the correct answer is 3.

4 0
4 years ago
Why database system is a critical component of business information systems
Readme [11.4K]
I dont know the answer of this qustion
3 0
3 years ago
Read 2 more answers
Other questions:
  • Hi guys help me plz . How to get ios 10 zip file for android devices ? or how to port ios 10 or higher for htc one me ?
    11·1 answer
  • Which topology requires a central controller or hub?
    15·1 answer
  • If an app needs to perform a derived-class-specific operation on a derived class object reference by a base class variable, the
    9·1 answer
  • What are two examples of items in Outlook?
    12·1 answer
  • Which of the following Google tools support collaboration? Docs Sheets Slides All of the Above
    13·1 answer
  • With a DUI charge on a driver’s record ______________.
    10·1 answer
  • Which is an example of a variable name written in camelcase?
    6·2 answers
  • Computer __ is any part of the computer that can be seen and touched​
    6·1 answer
  • Why do we need to know the different Networking Devices?​
    10·1 answer
  • PLEASE HELP ME!!!!!! ITS FOR 100 POINTS AND BRAINLIEST!!!!!!!! NO ONE EVER WANTS TO ANSWER MY QUESTION!!! I JUST NEED SOMEONE TO
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!