Posts by Nathalia Dias • 139 points
9 posts
-
1
votes1
answer4825
viewsQ: Manipulation of Excel in python
I would like to update excel every time the program runs, but the library only lets me write a new excel, and not update it. How can I do that? import requests from bs4 import BeautifulSoup import…
-
0
votes1
answer330
viewsQ: How can I keep the private and publish key for later use? Since the program always generates different keys?
Well, I wish I could save the private key and publish it to use later to encrypt and if someone wants to decrypt my message, but every time the program generates a new key. How can I save the keys…
-
0
votes2
answers353
viewsQ: How can I encrypt a user input text? giving error
from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding from…
-
0
votes1
answer98
viewsQ: str Object has no attribute 'Encrypt'
I made a program that generates a public key and another private key, serializes them and saves them in a .key. Dai tried to create another program to encrypt and decrypt a message with these two…
-
1
votes1
answer39
viewsQ: Certain infinity looping input numbers
When I collect the number 14 in the input it goes into infinite looping, how can I solve this problem? using System; using System.Collections.Generic; using System.Linq; using System.Text; using…
c#asked Nathalia Dias 139 -
0
votes1
answer51
viewsQ: Is it possible to write all the paragraphs that the user only put after the loop in sequence? and in a justified way?
Is it possible to write all paragraphs that the user has put only after the loop in sequence? and in a justified way? import textwrap numero_paragrafos = int(input('Quantos parágrafos tem o…
-
5
votes1
answer53
viewsQ: How can I make the word not break in half? And leave at most 40 characters per line?
valor = '''In the beginning God created the heavens and the earth. Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over…
-
4
votes2
answers2252
viewsQ: Unassigned variable in c#
The variable in the last console.writeline is giving that has not been assigned being that it was in ifs, I wonder why. string c, nome; double s, sn; Console.WriteLine("Escreva o nome:"); nome =…
c#asked Nathalia Dias 139 -
0
votes2
answers70
viewsQ: I’m learning, so it’s a basic question
I would like to know why then, when the programme has been implemented, it fails to show Console.WriteLine("nome: {0}", nome); onscreen? string endereço, cpf, telefone, nome;…