Is there a very good book to learn Python 3x in Spanish?

Hello everyone, I am currently using this book for learning and I find it very good, just like all the little details that are very important, they can disappear because it is written in English Enter the image description here

I stayed at Exercise 110 and the truth is that I am getting a little frustrated with the language problem. I would be very grateful if you could recommend definitive books to have a firm base in this language: D !!

java – exercise during – stack overflow in Spanish

Create a program called "ExampleWhileTres.java" that shows five columns.
The first column contains numbers between 10 and 20. The second column
Column is the square of each of the numbers in the first column. The third
Column is the cube of each of the numbers in the first column. The fourth
Column is the fourth power of each of the numbers in the first column and the
The fifth column is the fifth power of each of the numbers in the first column.
how is it done?

Unsecured Android encryption – batch overflow in Spanish

I currently have my app uploading the warning to playStore

Enter the image description here

My class is as follows

public class CryptoHandler {

    private String SecretKey = "DKDJXNSKDJD";

    private static CryptoHandler instance = null;

    public static CryptoHandler getInstance() {

        if (instance == null) {
            instance = new CryptoHandler();
        }
        return instance;
    }

    public String encrypt(String message) throws NoSuchAlgorithmException,
            NoSuchPaddingException, IllegalBlockSizeException,
            BadPaddingException, InvalidKeyException,
            UnsupportedEncodingException, InvalidAlgorithmParameterException {

        byte() srcBuff = message.getBytes("UTF8");
        SecretKeySpec skeySpec = new
                SecretKeySpec(SecretKey.substring(0,16).getBytes(), "AES");
        Cipher ecipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
        ecipher.init(Cipher.ENCRYPT_MODE, skeySpec);
        byte() dstBuff = ecipher.doFinal(srcBuff);
        return Base64.encodeToString(dstBuff, Base64.DEFAULT);
    }



    public String decrypt(String encrypted) {

        SecretKeySpec skeySpec = new
                SecretKeySpec(SecretKey.substring(0,16).getBytes(), "AES");

        Cipher ecipher = null;
        try {
            ecipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        } catch (NoSuchPaddingException e) {
            e.printStackTrace();
        }
        try {
            ecipher.init(Cipher.DECRYPT_MODE, skeySpec);
        } catch (InvalidKeyException e) {
            e.printStackTrace();
        }
        byte() raw = Base64.decode(encrypted, Base64.DEFAULT);
        byte() originalBytes = new byte(0);
        try {
            originalBytes = ecipher.doFinal(raw);
        } catch (IllegalBlockSizeException e) {
            e.printStackTrace();
        } catch (BadPaddingException e) {
            e.printStackTrace();
        }
        String original = null;
        try {
            original = new String(originalBytes, "UTF8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return original;
    }
}

Did someone tell me the mistake?

Why do people compare the coronavirus to the Spanish flu in 1918?

Because they don't understand what the numbers they hear actually mean.

First, they incorrectly assume that every single person who catches the coronavirus has been counted, which leads to an accurate mortality rate. The mortality rate is based on the people who were sick enough and died almost enough to be tested for.

Next, they don't understand what type of person is initially susceptible to the virus. You see people who show that they don't understand math at all by saying, "Just multiply the population * 0.034 to find the number of people who will die."

People who are initially in poor health or the elderly will die. The death statistics do not "increase" for these people, they are the death statistics. The boys will be fine and the boys and healthy people will not be tested.

If you really understand what the virus really is, you will find that the mortality rate is significantly lower than stated. It is just a cold virus, which is more likely to cause deep pneumonia.

As for the corona virus, it is very easy to transmit from person to person. This is really the only "pandemic" problem here. It transmits very easily.

Regex Javascript for password – batch overflow in Spanish

I have to generate a pattern for a password. I used https://regexper.com/ to check my employer, but cannot meet the requirements I requested:

  • At least 8 characters 12 max.
  • Alphabetic characters (at least two).
  • At least one capital letter.
  • It can contain 1 to 3 digits. You cannot exceed this limit. The digits do not have to be consecutive.
  • It must "." Contain. or or "-".

This would be my regex, but as I said, I can't do it right.

^ ((? =.(a-záéíóúüñA-ZÁÉÍÓÚÜÑ) {2,}) (? =.(A-ZÁÉÍÓÚÜÑ) +) (? =. d {1,3}) (? =.(. |, | -))) {8.12} $

Thank you very much

FirstOrCreate does not insert Laravel – Stack Overflow in Spanish

Hi there I insert data about a file excel and I implement the method firstOrCreate The problem with one of my tables is that the data is not inserted.

 $tipo = tbl_tipo_instrumento::firstOrCreate((
        'tipo_nombre' => $row(14)
    ));
    $marca = tbl_marca::firstOrCreate((
        'mar_nombre' => $row(15)
    ));

This is the code I'm using and my model is as follows:

public $timestamps = false;
public $table="tbl_marca";
protected $primaryKey = 'mar_id';
protected $fillable = ( 'mar_nombre');

If I enter the data manually phpmyadmin he looks for her without problems, in $row(15) y $row(14) There are everyone's names. What could be the mistake? I use laravel 6

Thank you

spain – Can I travel as a former Nigerian citizen with my current Spanish passport without a visa?

Former Nigerian nationals can enter Nigeria without a visa by traveling with their new passport of their new nationality along with their expired Nigerian passport.

Timatic, the database that airlines use to check passenger travel documents, says:

Passport required.

  • Passports and other documents accepted for entry must be
    Valid for at least 6 months from the arrival date.

Visa required, except for former Nigerian nationals with a
valid foreign passport and expired Nigerian passport.

spain – Can I travel as a former Nigerian citizen with my current Spanish passport without a visa?

I've had this question for a long time. I acquired Spanish citizenship 6 years ago and I'm originally from Nigeria. The same question arises every time I want to travel to Nigeria: can I travel to Nigeria with my valid Spanish passport along with my expired Nigerian passport and travel without a visa? It is the 4th time that I pay for a visa. I'm never sure if I need it …?
All secured information would REALLY be appreciated !!!!
Many thanks