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
natka813 [3]
3 years ago
5

How do I convert years to days on Python. For example, if I were to enter 3 years it should output "You are 1095 days old".

Computers and Technology
1 answer:
Scorpion4ik [409]3 years ago
6 0

years = int(input("Enter the # of years: "))

print("You are "+str(years*365)+" days old")

I wrote the code in python 3.8. I hope this helps!

You might be interested in
What was the in-app phrase listed as SC answer? <br> A) MasterCard <br> B) No fee<br> C) Apple Pay
likoan [24]

Answer:

A.master card

Explanation:

masterCard because

6 0
3 years ago
Read 2 more answers
What are different social phenomenas are you aware of that used part of a social movement, change, or cause
marin [14]

Answer:

Social change in the broadest sense is any change in social relations. Viewed this way, social change is an ever-present phenomenon in any society.

Explanation:

7 0
2 years ago
Using a loop and indexed addressing, write code that rotates the members of a 32-bit integer array forward one position. The val
My name is Ann [436]
<h2>Answer:</h2><h2></h2>

//begin class definition

public class Rotator{

    //main method to execute the program

    public static void main(String []args){

       

       //create and initialize an array with hypothetical values

       int [] arr =  {10, 20, 30, 40};

       

       //create a new array that will hold the rotated values

       //it should have the same length as the original array

       int [] new_arr = new int[arr.length];

       

       

       //loop through the original array up until the

       //penultimate value which is given by 'arr.length - 1'

      for(int i = 0; i < arr.length - 1; i++ ){

           //at each cycle, put the element of the

           //original array into the new array

           //one index higher than its index in the

           //original array.

          new_arr[i + 1] = arr[i];

       }

       

       //Now put the last element of the original array

       //into the zeroth index of the new array

       new_arr[0] = arr[arr.length - 1];

       

       

       //print out the new array in a nice format

      System.out.print("[ ");

       for(int j = 0; j < new_arr.length;  j++){

           System.out.print(new_arr[j] + " ");

       }

       System.out.print("]");

       

    }

   

   

}

<h2>Sample Output:</h2>

[ 40 10 20 30 ]

<h2>Explanation:</h2>

The code above is written in Java. It contains comments explaining important parts of the code.  A sample output has also been provided.

7 0
3 years ago
There are some practices that result in discrimination but may not look discriminatory at first glance. If a company only hires
den301095 [7]

Answer:

The correct answer to the following question will be "Adverse impact ".

Explanation:

An unintentional and unpredictable consequence of a specific action being taken. In the background of the job choices for firms, corresponds to an imbalance in recruiting or promotional selection that favors instances of a given group or ethnicity.

  • Several behaviors contribute to oppression but might not, at first sight, seem oppressive.
  • Unless a firm recruits only members of the family and community mates, it can unwittingly exclude other ethnicity categories.

3 0
3 years ago
How do I type fast?<br><br> Give me an actual answer...
Ugo [173]
Practice!
And a good keyboard I recommend mechanical key boards
But the best way to improving your WPM is definitely practice one way you can practice is playing typeracer it’s pretty fun way

Hope this helps!
Brainliest is much appreciated!
7 0
3 years ago
Read 2 more answers
Other questions:
  • An LPN/LVN has transferred to a nursing unit and arrives for the first day. The RN checks with the LPN/LVN often throughout the
    11·1 answer
  • In a database list, fields are displayed as _____. rows columns tables records
    10·1 answer
  • How to do this PLEASE HELP 80 points!
    15·1 answer
  • An investment website can tell what devices are used to access the site. The site managers wonder whether they should enhance th
    10·1 answer
  • tls Explain in your own words how, by applying both asymmetric and symmetric encryption, your browser uses TLS to protect the pr
    8·1 answer
  • Write a program that uses a custom function to return the cost of purchasing an item, possibly in multiple quantities. The item
    14·1 answer
  • Dora has inserted a text box into a Word document that she is formatting. Which strategy will not format text boxes? Create a li
    6·2 answers
  • Type the correct answer in the box. Spell all words correctly.
    7·2 answers
  • Help fast fast anyone
    10·1 answer
  • A/an _____________ is a stored program that executes at a specified time. Group of answer choices stored procedure view trigger
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!