Most voted "print" questions
13 questions
Sort by count of
-
5
votes1
answer140
viewsHow to make the ":. 0f" format not round my number
I wanted to know how I use the format ":.0f" without rounding up the number. I want to catch a input of seconds and turn it into minutes, here’s my code: segundos = int(input()) minutos = segundos…
-
4
votes2
answers76
viewsWhy does Lua’s "print" print print extra spaces in the arguments?
I used the command print() concatenating a variable, but the output prints extra spaces. If I use the io.write(), this problem does not occur. Why this problem happens to the print()? Example: name…
-
2
votes1
answer49
viewsDoubt with print and with for
for l in arquivo: Print(l) In this file are the name information, IP and Hostname. I need to print the name, IP and Hostname, however in this format: Name space of 10 characters Ip space of 10…
-
0
votes1
answer77
viewsCSS for printing - How to control data flow
Good afternoon! I’m setting up a layout for printing, where there will be a lot of data that exceeds more than one page. Does anyone know how to control the amount of data per page not to cut the…
-
0
votes1
answer82
viewsHow to print a flumulario containing tables (grid) via c#
I need to generate a crediario card impression similar to the one that is attached. I have no idea how to do this, what tool to use. Could someone give me a hint? Thank you very much.…
-
0
votes0
answers420
viewsCSS Printing: Image Cropped in Page Break [Solved]
I’m having trouble printing, when using an image, the same cutting in the page break, I tried to use page-break-inside: avoid;, didn’t solve. What can I do to prevent images from being cut when…
-
0
votes1
answer74
viewsFormat an object print
Time, I need to format the print of the following class: class Tupla: def __init__(self, keys, palavras): self.keys = list(keys) self.palavras = list(palavras) self.op = dict(zip(self.keys,…
-
0
votes1
answer222
viewsPrint array of names in C++
I’m having trouble printing an array that has as elements a char 'Name' saved. When I print these elements, only the last letter of the char leaves, in this case, the letter 'and', and not the whole…
-
0
votes1
answer30
viewshow to include letters in my list in python and inform the user that it has been repeated
for letra in palavra_secreta: #print(inclui_Letras) if (chute == letra): letras_acertadas[index] = letra inclui_Letras.append(letra) # incluir o 'chute' na list 'inclui_letras print(palavra_secreta,…
-
0
votes0
answers40
viewsReact Native - React-Native-bluetooth-escpos-Printer
I am implementing the printing of a ticket via the React-Native-bluetooth-escpos-Printer lib. I can connect and print. The problem is that in printing, is added the characters &M before any text…
-
-1
votes1
answer137
viewsSeparate print from two Python structures
I made a small program in Python that asks the user to type any integer number, right after it shows the Fibonacci sequence (number of times) and then shows the number of even numbers until that…
-
-1
votes1
answer44
viewsHow can I print the screen in the background with Python
I would like to be able to make a screenshot of the application running in the background with Python. On each screen the application enters, I need a print. I managed to, with the pyautogui. But,…
-
-3
votes1
answer45
viewshow to print table in two columns?
I have a table with more lines that fit on an A4 page, but if divided into two can be printed on one page, with two columns. I’ve checked other sites and got help, but it hasn’t. I attach the code I…