Обсуждения
What is error in it???
0 голосов
2 ответовSwift question
0 голосов
1 ответWrong Challenge Answer:
1 голос
2 ответовPython module
0 голосов
5 ответовIs there any way to fix this error?
0 голосов
1 ответWhat is math.e? Что такое math.e?
2 голосов
3 ответовimport-export js (ru-RU)
0 голосов
1 ответHow do I learn a library?
1 голос
2 ответовPRINT in PYTHON, how?
1 голос
2 ответовwhy is it not running?
import java.util.Scanner;
public class Myclass{
public static void main(String [] args){
Scanner in = new Scanner(System.in);
String a;
int b;
System.out.println("enter a word");
a = in.nextLine();
System.out.println("enter repetition")
b = in.nextInt();
for ( int = 0; x < b; x = x++)
System.out.println(a);
}
}
0 голосов
8 ответовWhat is Radian?
3 голосов
4 ответовI'm trying to calculate the decimal places of pi with Ramanujan's formula. but with this code I'm getting the same output for all values of n, which it shouldn't.
from math import sqrt, factorial as f
sum=0
n=0
k=(2*sqrt(2)/9801)
while n<=100000:
sum=sum+((f(4*n))*(1103+(26390*n)))/(((f(n))**4)*(396**(4*n)))
y=1/(k*sum)
print('%.60f' % y)
n=n+1
where am I doing wrong?
2 голосов
4 ответовHey there,
I don't know why, but when I import tkinter on IDLE like this:
from tkinter import *
And I say:
window = Tk()
Even known I use python 3.2.5, which should be able to use Tkinter, the python shell raises a ValueError that says that Tk() is not defined. I am very sure I use python 3.2.5 and tutorials from the Python Foundation say that is what I have to do. But it still doesn't work.
Does anyone have an idea of how to solve this problem? Thank you!
0 голосов
3 ответовDjnago error
0 голосов
2 ответовWhy isn't it working properly????
0 голосов
2 ответовHow to use from keyword in python
0 голосов
2 ответовI am confused on this
0 голосов
1 ответWhy not working
-4 голосов
4 ответовcompilition error
-2 голосов
2 ответовАктуальное сегодня
What is a web browser intension?
1 Votes
Mentors
1 Votes
Thread local : global vs local
0 Votes
python
0 Votes
Postgrrsql and python
0 Votes
Codding lern
0 Votes
Data Analysis Course
1 Votes
Is there LUA?
0 Votes