756 Answered Questions for the topic Python
Python
02/19/21
Guessing a random number when you roll a dice
Play a simple game of guess closest to the dice roll. You guess a number between 6 and 30, you randomly roll 5D6 dice (which means roll 6 sided dice, 5 five times).
If you guess within 3 of the...
more
Python
02/18/21
Conditionals_Lab_5
Play a simple game of guess closest to the dice roll. You guess a number between 6 and 30, you randomly roll 5D6 dice (which means roll 6 sided dice, 5 five times).
If you guess within 3 of the...
more
Python
02/17/21
Please make as simple as possible Write a program that mimics a calculator.
The program should take as input integers based on the operation and input the operation to be performed. It should then output the numbers, the operator, and the result of the operation. (for...
more
Python
02/17/21
Conditionals_Lab_4
Write a program that mimics a calculator. The program should take as input integers based on the operation and input the operation to be performed. It should then output the numbers, the operator,...
more
Python
02/17/21
Create a program that converts a temperature from Celsius(C) to Fahrenheit(F) or Fahrenheit(F) to Celsius(C). User must have two inputs.
One input is the temperature they are converting and the other asks if they are converting from C to F or F to C. The output should show the temperature that was inputted, if it was converted from...
more
Python
02/16/21
Conditionals_Lab_3
Create a program that converts a temperature from Celsius(C) to Fahrenheit(F) or Fahrenheit(F) to Celsius(C). User must have two inputs. One input is the temperature they are converting and the...
more
Python
02/16/21
Conditionals_Lab_2
A town contains 5000 houses. Each house owner must pay tax based on the value of the house. Houses over $50,000 pay 1% of their value in tax, houses over $100,000 pay 1.5% of their value in tax,...
more
Python
02/16/21
Could you make it as simple as possible
Create a program that converts a temperature from Celsius(C) to Fahrenheit(F) or Fahrenheit(F) to Celsius(C). User must have two inputs. One input is the temperature they are converting and the...
more
Python Algorithms
02/15/21
work through Shell Sort 3 (HW) and Quicksort 4 (HW) on Shell Sort & Quicksort For Shell Sort 3, use the gap sequence 11, 4, 1 For Quicksort 4, work through the first three partition operations
Python Coding
02/13/21
Divide by X HW Zyboo
Write a program using integers userNum and x as input, and output userNum divided by x four times.Ex: If the input is:
2000
2
Then the output is:1000 500 250 125Note: In Python 3, integer division...
more
Python Assembly
02/12/21
Can you help me convert this to assembly?
n = int(input("Enter the height of the pattern (must be greater than 0): "))if (n > 0): for x in range(n): for y in range(x): print("* ", end='') print(x+1,end='')...
more
Python
02/11/21
A town contains 5000 houses.
Other part of questionEach house owner must pay tax based on the value of the house. Houses over $50,000 pay 1% of their value in tax, houses over $100,000 pay 1.5% of their value in tax and houses...
more
02/11/21
Python API, try, except, JSON help
Accessing API services can enrich your development experience and adds more value to your users. Please register a free account at https://openweathermap.org/ to use it in the assignment. After...
more
02/09/21
python help in objects?
All programming to be done in python (please show input code):Question Info: Create a new student object with this data: John Smith, DOB; December 1, 2006, Grade 10, studentID 10023, Courses:...
more
02/09/21
python objects help
All programming to be done in python (please show input code):Question To Answer: Q3) Create a new student object with this data: John Smith, DOB; December 1, 2006,...
more
02/09/21
python help classes and properties
All programming to be done in python (please show input code):Question Info:
Create a Person Class which have these properties and methods:
Properties: fname, lname, DOB
2. Create a child class...
more
Python Programming
02/09/21
python person class and properties help
All programming to be done in python (please show input code):Question Info:
Create a Person Class which have these properties:
Properties: fname, lname, DOB
2. Create a child class Student of the...
more
Python Programming
02/09/21
python classes & objects help
All programming to be done in python (please show input code):Question Info:
Create a Person Class which have these properties and methods:
Properties: fname, lname, DOB
Question To...
more
Python Programming
02/09/21
python help with classes and objects
All programming to be done in python (please show input code):Question Info:
Create a Person Class which have these properties and methods:
Properties: fname, lname, DOB
Question To...
more
Python
02/09/21
implementation of sudoku in python
The implementation for an agent which can solve sudoku puzzles – this notebook
You can use any algorithm you like, from the unit material or otherwise
Your code will be subject to automated...
more
Python
02/09/21
How to random generate a number from 1-499 and have the number square rooted if there is no decimals output the number,square root, and description of it having no decimal places
import math
import random
print(random.randint(1,499))
X = rand.randint(1,499)
math.sqrt(X)
print(X)
Python
02/09/21
Conditionals_Lab_1
Write a program that randomly generates an integer between 1 and 499.
If the random number square root has no decimal values (eg. 64 is 8, 9 is 3). Output the random number, its square root, and...
more
Python
02/09/21
GraphViz's executables not found
I tried to run this code on mac,from IPython.display import Image dt_feature_names = list(X.columns)dt_target_names = [str(s) for s in Y.unique()]tree.export_graphviz(clf, out_file='tree.dot', ...
more
02/09/21
bubble sort python
Information to solve question:Use "a" for loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11. (The answer should be 271)Create a recursive function to do the same...
more
02/09/21
Creating recursive function
Question Info:The calculation "a" was used for loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11 (The answer was 271)Question To Answer:(1) Create recursive function to...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.