write a python program to print the following series 3..10..31..94......n​

Pls answer fast..

Answers

Answer 1

I've included my code in the picture below. Best of luck

Write A Python Program To Print The Following Series 3..10..31..94......nPls Answer Fast..
Write A Python Program To Print The Following Series 3..10..31..94......nPls Answer Fast..

Related Questions

Question # 1
Multiple Select
You already now about some collections. Which of the following is a type of collection in Python? Select 2 options.

group

dataset

ordered set

list

deque

Answers

Answer:dataset

Explanation:

data set because it is kida a set

Answer:

A list, and a deque.

Explanation:

Why am i right? Because i am.. TRUST ME ITS RIGHT YW EVERYONE! :3

Do you think the fact that the cyclist has raised nearly half a billion dollars for a cancer foundation makes what he did any less immoral? Should his sponsors have considered this fact before pulling their contracts with him? Explain your answers.

Answers

Answer:

1. No, I do not think that the fact that the cyclist raised nearly half a billion dollars for a cancer foundation made what he did less immoral.

2. No. The sponsors were right in not considering this fact before pulling their contracts with him.

(Find the Explanations below)

Explanation:

Lance Armstrong is a Cyclist who suffered cancer at the young age of twenty. He survived the ordeal and went ahead to form a foundation known as the Livestrong Foundation which helped cancer patients obtain medical help. He was accused of doping by the United States Anti-doping agency. This led to the withdrawal of sponsorships by several organizations.

1. The fact that the cyclist fought a good cause by raising millions of dollars to fight cancer, does not make what he did any less immoral because it was his fame and the supposed integrity that he possessed that first attracted the recognition and sponsorships to him. Engaging in an illegal act to win his games and stay on top was morally wrong and it corrupted the trust that was placed in him. His career as a cyclist was the base that gave him his voice.

2. The sponsors should not have considered the fact that he raised a lot of money for the cancer cause because the wrong act of engaging in doping was morally wrong, and if the spnsors remained with him, it would be as if they supported this act. Not withdrawing their sponsorships, would also tarnish the image of the organizations.

(Java) Meadowdale Dairy Farm sells organic brown eggs to local customers. It charges $3.25 for a dozen eggs, or 45 cents for individual eggs that are not part of a dozen. Write a program that prompts a user for the number of eggs in the order and then display the amount owed with a full explanation using the following wording: You ordered 27 eggs. That’s 2 dozen at $3.25 per dozen and 3 loose eggs at 45 cents each for a total of $7.85.

import java.util.Scanner;
class Eggs {
public static void main(String[] args) {
// Write your code here

}
}​

Answers

import java.util.Scanner;

public class Eggs {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("How many eggs?");

       int eggs = scan.nextInt();

       int dozens = eggs / 12, ind = eggs - (dozens*12);

       

       System.out.println("You ordered "+eggs+" eggs. That's "+dozens+" at $3.25 per dozen and "+ind+" loose eggs at 45 cents each for a total of $"+((dozens*3.25)+(ind*0.45))+".");

   }

   

}

I hope this helps!

In this exercise we have to use the knowledge of the JAVA language to write the code, so we have to:

The code is in the attached photo.

So to make it easier the JAVA code can be found at:

import java.util.Scanner;

public class Eggs {

  public static void main(String[] args) {

      Scanner scan = new Scanner(System.in);

      System.out.println("How many eggs?");

      int eggs = scan.nextInt();

      int dozens = eggs / 12, ind = eggs - (dozens*12);

System.out.println("You ordered "+eggs+" eggs. That's "+dozens+" at $3.25 per dozen and "+ind+" loose eggs at 45 cents each for a total of $"+((dozens*3.25)+(ind*0.45))+".");

  }

}

See more about JAVA at brainly.com/question/2266606

alexa it is olewi.............................................

Answers

Answer:

jvksvksdvkbvkjsdkcn

Explanation:

Huh.........whattttt

Use of the Internet for e-government has increased. Identify the benefits by checking all of the boxes that apply.
A. It keeps the public informed about events
B. People do not have to vote
C. People can pay bills
D. People do not have to visit the site
E. The government can share important information about issues with the people in that town.

Answers

It’s A my good guy have a great day

Answer:

the answer is A C and E

Explanation:

SOMEONE PLEASE HELP ME WITH THIS !!!!

Answers

I feel it is C, but I am not sure if it is correct, I can only apologize if it is wrong.

2.4 Code Practice: Question 1
Write the code to input a number and print the square root. Use the absolute value function to make sure that if the user enters a negative number, the program does not crash. How do I do this in python ???

Answers

Code in Python:

num = float(input("Enter any number : "))

ab = abs(num)

sqrt = float(ab ** 0.5)

print(sqrt)

The code to input a number and print the square root is,

import math

# Input a number from the user

number = float(input("Enter a number: "))

# Use the absolute value function to handle negative numbers

abs_number = abs(number)

# Calculate the square root using the math module

sqrt_number = math.sqrt(abs_number)

# Print the square root

print(f"The square root of {number} is {sqrt_number}")

Given that,

Write the code to input a number and print the square root.

Now, A code snippet in Python that accomplishes what you described:

import math

# Input a number from the user

number = float(input("Enter a number: "))

# Use the absolute value function to handle negative numbers

abs_number = abs(number)

# Calculate the square root using the math module

sqrt_number = math.sqrt(abs_number)

# Print the square root

print(f"The square root of {number} is {sqrt_number}")

In this code, the abs() function ensures that even if the user enters a negative number, it will be converted to its positive equivalent before calculating the square root.

The math.sqrt() function is used to compute the square root, and the result is printed using the print() function.

To learn more about Function visit:

https://brainly.com/question/11624077

#SPJ6

Dropdown
Choose the correct data type.

type(3) tells you the type is___

type("35") tells you the type__

type(3.5) tells you the type__

Answers

type(3) is int

type("35") is string

type(3.5) is float

Following is the correct data type that one get after giving the following commands”

type(3) is int

type("35") is string

type(3.5) is float

What is the data type?

In any of the computer science and computer programming worlds, a data type is considered for the possible value set and it allows what kind of operation one has to do on it. A variable's basic data type is the classification that specifies the type of value it has.

Most of the time, the data type is used for programming, so don't be concerned about the type of mathematical relations and logical operations that can be applied.

There are basically five types of data types divided on the basis of most modern computer languages. They are integral, floating-point, character, character string, and composite types

Learn more about data type from here:

https://brainly.com/question/14581918

#SPJ2

What number will be output by the console.log command on line 5?
A. 10
B. 11
C. 12
D. 13
E. 16

Answers

Answer:

E

Explanation:

If you follow the line of code and add 1, 2, and then 3, 10 + 1 + 2 + 3 = 16.

The output of the block of code will be 16 as the value of the variable is assigned a new value based on the number added to it on each line.

The initial value of the variable oop is 10

On the next line, 1 is added to oop and the resulting value is reassigned to the same variable, the new value of oop is 11

On the next line, 2 is added to oop and the resulting value is reassigned to oop, the new value of oop becomes 13

Variable oop is then increased by 3 ; making the value become (13 + 3) = 16

Therefore, the output of the command is 16.

Learn more :https://brainly.com/question/18505492

which option is the correct format of placing html tags while coding in html
A.
B.
C.
D.

Answers

Answer:

what are the answers?

it just says A, B. C. or D.

Explanation:

Choose the word that matches each definition.
1 - ISP
2 - HTTP
3 -URL

Answers

Answer:

1 - Internet Service Provider

2 - Hypertext Transfer Protocol

3 - Uniform Resource Locator

Explanation:

Write the line of code to calculate the area of a circle with radius 3 and store it in a variable called
area.

Answers

Answer:

area = 2.14 * 3 ** 2

Explanation:

No clue what language you use but this should be pretty universal. To find the area of a circle you use pi(r) ^ 2 or pi times radius squared

[tex]\pi r^{2}[/tex]

In python it looks like this:

>>> area = 3.14 * 3 ** 2

>>> print(area)

28.26 <Printed text

can anyone help with this?​

Answers

The correct answer is Use hanging indents in the second line

Explanation:

One of the recommendations in the works cited page like the one presented is to use hanging indents. This implies the second, third, etc. line of a citation should be indented, while the first line is not indented. This is required by the MLA (Modern Language Association) because it makes citation to be easy to read. According to this, to improve the sample, hanging indents need to be included in the second line of the first and third citation.

Write the code in python to ask the user to input two integers. Your program will then print the greatest common divisor of the two integers. Look at the math module for a function that will help you find the greatest common divisor.

Answers

import math

num1 = int(input("Enter a number: "))

num2 = int(input("Enter a number: "))

print(math.gcd(num1, num2))

The gcd() - greatest common divisor function, which is part of the math module works perfectly in this situation.

Which of the following allows a user to quickly access a frequently used computer app? Alphabetize program icons. O Create a shortcut on the toolbar. O Delete all icons on the screen. Place all icons in one folder.​

Answers

Answer:

Create a shortcut on the toolbar

Explanation:

You can use process of elimination. alphabetizing would not help to find it quicker, but it is an easier way. Deleting all icons wouldn't help at all. And placing all icons in a folder would make it even messier. So, it is creating a shortcut. Plus, I got it right on my test :)

Answer:

its a shortcut

Explanation:

took da test and got 100

Which act passed by the US government in 1998 criminalizes the production and distribution of technology that intends to evade anti-piracy laws?

Answers

The Computer Fraud and Abuse Act I believe. Sorry if I’m wrong and I hope that it helps :)

Answer:

Digital Millennium Copyright Act (DMCA)

Explanation:

i got it right on plato

Instructions
Write a program that will add up the series of numbers: 99, 98, 97… 3, 2, 1. The program should print the running total as well as the total at the end. The program should use one for loop, the range() function and one print() command.

Sample Run
99

197

294

390







4940

4944

4947

4949

4950

Answers

total = 0

for x in range(99, 0, -1):

   total += x

   print(total)

I hope this helps!

My friend's newborn sister is so precious.
a. ri
c. fr
b. en
d. ie

Answers

She’s not precious ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ

//TO-DO: Fill in the Authors Name Here//TO-DO: Fill in the current date here//CS1428 Lab//Lab 10//Description: this program will find letter grades from 5 number grades#include using namespace std;double getAverage(double g[], const int SIZE){ double total = 0; for(int i = 0; i < SIZE; i++) { total += g[i]; } return total / SIZE;}void getGrades(double g[], const int SIZE){ cout << "Please enter 5 grades:" << endl; for(int i = 0; i < SIZE; i++) { cin >> g[i]; }}// TODO: Complete function definitionsint main(){ const int SIZE = 5; double grades[SIZE], average; int numberOfAs = 0, numberOfBs = 0, numberOfCs = 0, numberOfDs = 0, numberOfFs = 0; //TODO: Add function calls return 0;}

Answers

Answer:

countLetterGrades:

void countLetterGrades(double grades[], const int SIZE, int &numberOfAs,int &numberOfBs,int &numberOfCs,int &numberOfDs,int &numberOfFs) {

for(int i = 0; i < SIZE; i++){

if(grades[i]>85){numberOfAs++;}

else if(grades[i]>75){numberOfBs++;}

else if(grades[i]>65){numberOfCs++;}

else if(grades[i]>55){numberOfDs++;}

else{ numberOfFs++;}

}

}

printData:

void printData(double average, int numberOfAs,int numberOfBs,int numberOfCs,int numberOfDs,int numberOfFs)

{

cout<<"Average: "<<average<<endl;

cout<<"Number of A's: "<<numberOfAs<<endl;

cout<<"Number of B's: "<<numberOfBs<<endl;

cout<<"Number of C's: "<<numberOfCs<<endl;

cout<<"Number of D's: "<<numberOfDs<<endl;

cout<<"Number of F's: "<<numberOfFs<<endl;  

}

Explanation:

Your question is poorly formatted. (See attachment for proper presentation of question)

------------------------------------------------------------------------------------------------------------

The first step is to go to the main function and replace

//TODO: Add function calls

with the following 4 lines of code:

getGrades(grades,SIZE);

average = getAverage(grades,SIZE);

countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

------------------------------------------------------------------------------------------------------------

1. getGrades(grades,SIZE);

This calls the getGrade functions; The getGrade function is where the user inputs 5 grades for a student

2. average = getAverage(grades,SIZE);

Next, is to get the average of the input grades. This is done using the above and the average is stored in variable average

3. countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

Next, is to get letter grade of each number grade. This is done using countLetterGrades function.

4. printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

The above 3 functions populate data for average, numberofAs to numberofFs; This values are passed to printData function to to display program output.

------------------------------------------------------------------------------------------------------------

Next complete countLetterGrades and printData functions as seen in the answer section.

For clarity, see the attached cpp file for line by line explanation of the complete code

Question # 3
Fill in the Blank
What is the output?
answer = "Hi mom"
print(answer.lower())

Answers

what not understanding

the output is mom, hope this helped p

Write a program that reads two integers, checks if a digit repeats 3 times in a row in the first integer and that same digit repeats two times in a row in the second integer.

Answers

Answer:

first_num = input("Enter integer digits (should be four or more digits): ")

sec_num = input("Enter integer digits (should be four or more digits): ")

num = '3'

if

def count_check( digit):

   if (digit * 3) in first_num and (digit * 2) in sec_num:

       print(True)

   else:

       print(False)

count_check(num)

Explanation:

The python source code above receives two values assigned to variables "first_num" and "sec_num" and defines a function called count_check to check if a digit occurs three consecutive times in the first input and two in the second to print a value of true or false otherwise.

Which function is used to add a range of cells? =SUM =AVERAGE =MAX =ADD

Answers

Answer:

=SUM

Explanation:

The function used to add a range of cells is =SUM. Thus, option A is correct.

What is a function in excel?

Functions are pre-written formulas that carry out calculations by utilising unique values, referred to as inputs, in a given order, or layout. Calculations of any complex variable can be carried out using functions. the purpose for which a human, thing, or both are created, expressly designed, or employed.

Values are added by the SUM function. Users can include specific values, cell references, specific ranges, or a combination of all three. F

Excel's AutoSum feature makes summing up several items in an quick and simple manner. The Alt+= button makes using the AutoSum command much quicker. It can be found on the Homepage or Formulas tabs.

Therefore, option A is the correct option.

Learn more about Functions , here:

https://brainly.com/question/21145944

#SPJ6

Laptop computers use PCMCIA cards, another type of ________

a.
USB drive
b.
mass storage
c.
smart cards
d.
flash memory

Answers

Answer:

mass storage or flash memory

25 POINTS. Which three features are related to the functions of a continuous rotation servo motor?
A. The command signal sets the direction and speed of rotation.
B. It can change the shaft's movement from circular to forward or backward motion.
C. It is commonly used for radar navigation on robots.
D. The motor can turn either clockwise or counterclockwise with no limits.
E. There are barriers in the design that prevent rotation beyond a half circle.

Answers

I think A I’m not too sure though! Try looking it up cause I’m not sure about my answer

Identify the type of data for each value below.
12.023
"Hello World
52

Answers

12.023 is float

"Hello World" is string

52 is int

Your teacher is nice. She/He has given it in the order.

The type of data for 12.023 is a float, "Hello World is a string, and 52 is a int.

What are the type of data?

The  type of data in computer science can be given as the data values that helps in the analysis of the type of operation that is to be performed. The data types in python are given as classes.

The type of data type is:

The point numbers are given as floating. Hence, 12.023 is a float.

The text form is given as string or str data type. Hence, "Hello World is a string.

The whole numbers positive or negative are given as integers or int. Hence, 52 is a int.

Learn more about data type, here:

https://brainly.com/question/22574321

#SPJ2

True or False? You should never move an injured person.
True
False

Answers

Answer:

true

Explanation:

HELP PLEASE SOMEONE PLEASE HELP ME!!!!!

Answers

I feel it is C, but I am not sure if it is correct, I can only apologize if it is wrong.

Which of the following is an example of a tax?

cash payment,medicare,rental payment,line of credit

Answers

Medicare because it’s like insurance

Ask the user to enter a name. If there is an ‘a’ in the name, print the message saying ‘The name contains at least one ‘a.’ If there is no ‘a’ then print “The name does not contain the letter a.”

Answers

name = input("Enter your name: ")

if "a" in name:

   print("There's at least one 'a'")

else:

   print("The name does not contain the letter a.")

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

if you put your tik down below I'll tell them to follow

Answers

Answer:

oreo._.thecat7

Explanation:

...................

Answer

I dont have a acc !

Exp

bc i dont like that app a lot

Other Questions
Choose the fraction that has not been reduced to simplest form.[tex]\frac{1}{16} \frac{21}{34} \frac{3}{57} \frac{11}{17}\\[/tex] What is the Value of the angle AEX The object will have a minimum gravitational potential energy at pointA)A B)B C)C D)D Refrigerators in a random sample of 55 refrigerators, the mean repair cost was $150.00 and the standard deviation was $15.50. Construct a 90% confidence interval for the population mean repair cost. Interpret the results. 1092 is divisible into.? What was one important feature of the Akkadian Empire in Mesopotamia?A.It was the world's first empire.B.It developed the wheel and axle.C.It gave equal rights to men and women.D.It created the earliest writing system. In 2014, 85 percent of households in the United States had a computer. For a randomly selected sample of 200 households in 2014, let the random variable C represent the number of households in the sample that had a computer. What are the mean and standard deviation of C ? Given the following equations:Equation 15x+2y=7Equation 2x+y=5Find the value of 4x + y Find the slope of the line passing through each of the following pairs of points.(5, 0), (3, 0) The formula for the volume of the sphere = 4(pi) 13. Which of the following is the closest approximation to the volume when r, theradius, is 11 inches? Question 3. Starting with acetylene, devise a scheme to prepare 1-chloroheptanol. There is morethan one way to complete this synthesis. It can be completed in as few as three reactions. Youcan use any alkyl halides as needed as sources of carbon atoms. PLEASE EXPLAIN THE PROCESS. Im begging. Please. 25 pts! Dont copy someone elses work plzExplain why the equation (x-4)^2-28=8 has two solutions. Then solve the equation to find the solutions. Show your work Jay needs to paint one side of his house. He knows 1 can of paint covers and area of 24 square feet. What is the least amount of paint Jay will need to paint the side of his house? the first term of GP where second term is 2 and sum of infinity is8 it will be how do i simplify 4^(n-2)+4^(n-1)+...+4^0 Listen to your teacher read aloud present simple verbs. Then, use going to' to make statements and questions in the spaces below STATEMENTS My friends ___________________________________________________ Mr. Smith ____________________________________________________ I ___________________________________________________________ Bob and Cathy _________________________________________________ The movie ___________________________________________________ We ___________________________________________________________ If 35.00 mL of 3.00 M KOH reacted completely (according to our equation), what mass of aluminum has reacted? 1 A brand of cereal is usually sold in 750 g packs. During a special promotion anextra 15% is added to each box. What will the new weight be? A restaurant freezes a cherry and lime juice mixture to create slushes. Cherry juice costs $5 per quart, and lime juice costs $3 per quart. Each day, the restaurant spends a total of $36 on 8 quarts of juice. The restaurant manager organizes the information in the table below. What is the x intercept of 4y+9x=18