Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

The data type of the variable a=(1i)is
1.str
2.complex
3.syntax error
4.tuple
Assignment 6: Code Snippet
Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.

for i in range(3):
for j in range(3-i):
print("*", end=" ")
print("")
Question 4 Instructions
Use the code snippet above to write a program that uses looping to output the following shape:

FOURTH
* * * * * * * * * *
* * * * * * * * *
* * * * * * * *
* * * * * * *
* * * * * *
* * * * *
* * * *
* * *
* *
*
Assignment 6: Code Snippet
Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.

for i in range(3):
for j in range(3-i):
print("*", end=" ")
print("")
Question 3 Instructions
Use the code snippet above to write a program that uses looping to output the following shape:

THIRD
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
Assignment 6: Code Snippet
Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.

for i in range(3):
for j in range(3-i):
print("*", end=" ")
print("")
Question 2 Instructions
Use the code snippet above to write a program that uses looping to output the following shape:

SECOND
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
Write a program that accepts a number as input, and prints just the decimal portion. Your program must account for negative numbers.
Instructions
Assignment 6: Code Snippet
Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.

for i in range(3):
for j in range(3-i):
print("*", end=" ")
print("")
Question 3 Instructions
Use the code snippet above to write a program that uses looping to output the following shape:

THIRD
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.

for i in range(3):
for j in range(3-i):
print("*", end=" ")
print("")

Use the code snippet above to write a program that uses looping to output the following shape:

SECOND
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.
Problem: Data Processing

The owners of a corner store do an inventory of what items they have on their shelves after they close their store every day. They have asked you to create a Python program that uses this inventory information to generate a daily report of what needs to be ordered from their suppliers. The store owners will order more of a particular product when there are less than 20 of those items left on their shelves. When they order a product, they order enough to stock a total of 50 of those items on their shelves. For example, if they have 18 bags of Salt & Vinegar chips at the end of the day, they order 50-18 = 32 new bags. They may have many suppliers that offer the same product, so they must choose the supplier that offers the product at the lowest price. If all suppliers offer the product at the same price, any supplier can be selected.

Your Python program will use input data from the following four files:
LATEST TUTORIALS
APPROVED BY CLIENTS