Posts by omathevs • 11 points
2 posts
-
0
votes1
answer20
viewsQ: This function has a 'Widget' return type, but does not end with a return statement
class Home extends StatefulWidget { @override _HomeState createState() => _HomeState(); } class _HomeState extends State<Home> { DataBaseHelper db =…
-
-5
votes2
answers352
viewsQ: How to delete negative elements from one list and add them to another in python?
tried with this code but does not work accurately from random import randint lista=10 X=list(range(lista)) R=[] def gravarLista(X): for i in range(lista): X[i]=randint(-5, 5) print(X) for i in X: if…