+ 2

Help me with "float", pleeeaaase)))

palls =[1,2,3,4,5,6,7] for x in palls: if 5*x**2+3*x+4==58: print (x) this is my code(it is on start, i didn't. finish it). I want to make code, which can solve different equations, but I want that programm print only 1, 9, 235... I'd like if it can print X like 31.45; 89.4; 2.0 So how can I use float with "palls", and I'd like if palls would be all numbers, from -1999.8000098 to 28990.0001148(f.e.), please help me, because my skills are not very good and I need help.

10th Aug 2017, 10:32 PM
Yevhenii Chervonyi
Yevhenii Chervonyi - avatar
3 Respostas
+ 7
Please explain yourself clearly I dont understand
11th Aug 2017, 12:29 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
Even me also didn't understand
11th Aug 2017, 2:13 AM
Sudheer
Sudheer - avatar
+ 1
I want to make list of all numbers. Numbers like -12, -5... ; 0.89; 189. I dont know how to use float to get this list.
11th Aug 2017, 7:57 AM
Yevhenii Chervonyi
Yevhenii Chervonyi - avatar