TypeError: a float is required | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
- 3

 TypeError: a float is required

import math a=float(input("Введіть число a: ")) x=float(input("Введіть число х: ")) y=(2/a*x)*(math.pow((math.tan),2/3))*(a*x/2)-(math.pow((math.tan),3))*(a*x/2) print("Відповідь: ", format(y,'.2f')) input()

26th Sep 2016, 1:14 PM
Nick Stoiko
Nick Stoiko - avatar
1 Resposta
- 3
on which line did the error occur
30th Sep 2016, 7:16 PM
Dieter Schäfner
Dieter Schäfner - avatar