Posts by Rodrigo Costa • 13 points
2 posts
-
-3
votes6
answers6752
viewsQ: Get the list of prime numbers smaller than N
I have an exercise in which I need to enter a number (N) and calculate with Python which are the numbers below N that are primes. That’s the code I have now. num == int(input("Insira um número: "))…
pythonasked Rodrigo Costa 13 -
-1
votes4
answers21505
viewsQ: How do python select the largest number of a set?
Good afternoon, I’m inputando numbers in python, but I don’t know how to add them to a set and then make python decide which is the largest number in the list. Grateful