Posts by Bernardo Martins • 29 points
5 posts
-
1
votes1
answer1484
viewsQ: How to read a float with Scanner
My problem is this: package com.vreawillsaveyou01; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); float number =…
-
0
votes3
answers3860
viewsA: What is the python float
Numbers with a decimal point belong to a type called float, because these numbers are represented in a format called floating point
-
1
votes1
answer639
viewsQ: The Pytesseract does not recognize only one letter
I need to recognize only one letter through the Pytesseract library in python but OCR is not able to recognize when it is only one letter. In this case, I’m trying to recognize the letter H, but…
-
0
votes1
answer145
viewsQ: Check List elements within other Python lists
Good, I have two lists lista1 = [0,1,2,3] lista2 = [0,1,2,3,4,5] How do I confirm that all elements of list 1 are within Lista2 ? For example : lista1 = [0,1,2] lista2 = [1,2,3,4] lista3 = [0,1,2,3]…
-
0
votes1
answer1380
viewsQ: Indexerror: list index out of range in python
With the comoda configuration input and output the number of inaccessible drawers . I have this code now configuração = [] lista = [] aberto = 0 gavetas = int(input('Quantas Gavetas ? --> '))…