Posts by Leanz • 1 point
3 posts
-
0
votes3
answers79
viewsA: Greatest prime number
You can take the numbers and add them to a list called Numbers, then to display the highest prime value is just to do asisim: print(max(int(number) for number in numbers if number % 2 !=0))…
-
0
votes0
answers29
viewsQ: Error importing Sqlalchemy
I cannot import flask_sqlalchemy even after installing from flask import Flask, render_template from flask_sqlalchemy import SQLAlchemy ^aqui mostra o erro: ImportError: "flask_sqlalchemy" could not…
-
0
votes0
answers19
viewsQ: How to make a number with reset Random when restarting the program in python?
I created this system to generate a random number but I cannot reset the generated number every time the user selects play again, what would be the easiest way to solve this? import random…