hello , I am new in python and I am making an algoritm to solve a second grade ecuation, here it is: from math import sqrt print ("Ingresa el valor primero de a, luego de b y finalmente de c de la ecuacion") a = input () b = input () c = input () if (b) * (b) >= 4 ...
hello , I am new in python and I am making an algoritm to solve a second grade ecuation, here it is: from math import sqrt print ("Ingresa el valor primero de a, luego de b y finalmente de c de la ecuacion") a = input () b = input () c = input () if (b) * (b) >= 4 ...
TypeError: int object is not callable by smorefx Fri Apr 23, 2010 6:04 pm I am working on this temp conversion program and I keep getting a type error when I attempt to convert the temperature entered. Here is the code I have so far. Code: Select all import tkinter class CelsConverterGUI: def __init__(self): ...
#areaTriangle import math a = input("Please enter the length of side A: ") b = input("Please enter the length of side B: ") c = input("Please enter the length of side C: ") S = (a+b+c)/2 area = math.sqrt(S(S - a)(S - b)(S - c)) print "The area of the triangle with sides of length", a, ",", b, "and", c, "is", ...
what does that mean cause thats the error message i get when i try and run my program that is supposed to convert a given month, say if its real and then convert it to what number day it is in the year.heres my code Code: Select all #4 import string def Month(Date): Month = int(Date[0]) ...