Search

Write a program that encodes an input plaintextxwith a one-time pad.Start by assigning a number to each letter,a→0,…,z→25, using string.asciilowercase to get the alphabet.

Write a program that encodes an input plaintextxwith a one-time pad.Start by assigning a number to each letter,a→0,…,z→25, using string.asciilowercase to get the alphabet. For simplicity, you can assume that x contains only the letters a,b,c,…z.First write two functions that you can use to convert a given text intoa list of numbers (and back to […]

A donut is defined by the following parameter representation: Write a classDonut whose constructor takes over R and r. ̈Consider sensible default values.

A donut is defined by the following parameter representation: Write a classDonut whose constructor takes over R and r. ̈Consider sensible default values.  If R > r does not apply, then issue a warning to the user and adjust R so that the assurance is fulfilled.Use NumPy to implement the methods for x,y and z.Find […]

Create a list of the respective energy values for a mini-drone with a mass of 250g, a midi-drone with a mass of 570g and a maxi-drone with a mass of 900g for the heights 1 to 120 metres (step size 1m).

Attention:You must not use loops in this task! A drone of massem(in kilograms) has a potential energy (in joules) of E=mgh(gis the acceleration due to gravity ofrounded 9.81m/s2) at height h (in metres). Create a list of the respective energy values for a mini-drone with a mass of 250g, a midi-drone with a mass of […]

Python program for an online MoonBucks coffee order.

Coffee is sold by the pound, and the price per pound depends upon the quantity ordered according to the table shown below. Partial pounds are not sold. Shipping is $1.00 per pound, but free for coffee orders over $150 before tax.

Free Worldwide shipping

On all orders above $50

Easy 30 days returns

30 days money back guarantee

International Warranty

Offered in the country of usage

100% Secure Checkout

PayPal / MasterCard / Visa