100 questions
import random as rddef lottery_number(): num = int(number.get()) for i in range(num): lotto_list = list(range(1,46)) #from 1 to 45 rd.shuffle(lotto_list) #shuffle lotto_list1 = lotto_list[:6] lot...
N = 80z = np.zeros((N,2))for h in range(0,80,1): z[h,0] = h #constants mass_earth = 5.9722*10**(24) #[kg] radius_earth = 6371*10**(3) #[m] universal_gravitational_const = 6.674*10**(-11) #[m^3/kg^-1*s...
testOne = [['ex','ex','ex'],['ex','ex','ex'],['ex','ex','ex'],['ex','ex','ex'],['ex','ex','ex'],];xx = [];realCal = ['a','b','c']; for (let i = 0; i < testOne.length; i++) { xx[i] = realCal; xx...
I understand why variables such as Python, c, and java are declared with a, b, n, m, x, and y. Since a or b is the first in abcde order, you can think of it as n for number and m for number and m for ...
import mathimport numpy as npimport matplotlib.pyplot as pltdef Nutzlast(time): t1 = time #[s] _________________________ Required Values and Formulas _________________________ nutzlast = ((m_b2 - (0.0...
import numpy as np T_list = [] Temp_k = np.linspace(298, 398, 10) #print (Temp_k) current = np.linspace(0, 1.4, 5) ppH2O = np.linspace(-2, -1, 5) H2_pressure = [] H2O_pp = ppH2O for i in (Temp_k): pr...
Please tell me how to write a code that allows a pentagon to come out upside down by taking a double for moon *
It is a problem to put 12~17kg of sugar in boxes of 3KG and 5KG so that the weight of the box is minimal without leaving any weight. I want to make it so that if it comes out in duplicate in the code ...
You want to take an integer n and add a decimal number to the list L that is greater than n*2, but if you enter 16 in n, you only run up to 17 and not more. What I want is to turn from 17 to 31 and ad...
Hello, this is my first time to analyze data since I entered Python.I wrote the code with the same goal as the code below, but the problem only progresses to 10 in the For MoonThere's been an error af...
« | - 8 - | » |
© 2024 OneMinuteCode. All rights reserved.