Python tuple()
Sintaxa lui tuple() este:
tuple (iterabil)
Dacă iterabilul nu este trecut in tuple(), funcția returnează un tuple gol.
[mai mult...]Soluții pentru problemele tale IT
Sintaxa lui tuple() este:
tuple (iterabil)
Dacă iterabilul nu este trecut in tuple(), funcția returnează un tuple gol.
[mai mult...]Oracle’s free and open-source offering VirtualBox is an excellent virtualization tool, especially for desktop operating systems. You can use virtualization software like VirtualBox for installing and using another operating system within a virtual machine. You can also use VirtualBox for installing another Linux distribution within your current Linux system.
The easiest way to install VirtualBox on Ubuntu is to search for it in the Software Center and install it from there.

You can also install it from the command line using this command:
sudo apt install virtualbox
However, if you check the package version before installing it, you’ll see that the VirtualBox provided by Ubuntu’s repository is quite old.
For example, the current VirtualBox version at the time of writing is 7.0, but the one in Software Center is 6.2. This means you won’t get the newer features introduced in the latest version of VirtualBox.
If you want to use the latest version of VirtualBox on Ubuntu, the easiest way would be to use the deb file. Oracle provides ready-to-use binary files for VirtualBox releases. If you look at its download page, you’ll see the option to download the deb installer files for Ubuntu and other distributions.
You just have to download this deb file and double-click on it to install it. It’s as simple as that. However, the problem with this method is that you won’t get automatically updated to newer VirtualBox releases. The only way is to remove the existing version, download the newer version and install it again.
First, add the key for the repository. You can download and add the key using this single command.
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
Important for Mint users
The next step will work for Ubuntu only. If you’re using Linux Mint or some other distribution based on Ubuntu, replace $(lsb_release -cs) in the command with the Ubuntu version your current version is based on. For example, Linux Mint 19 series users should use bionic and Mint 18 series users should use xenial. Something like this:
sudo add-apt-repository “deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib“
Now add the Oracle VirtualBox repository to the list of repositories using this command:
sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
If you see an add-apt-repository command not found error, you’ll have to install the software-properties-common package.
Now that you have the correct repository added, refresh the list of packages available through these repositories and install VirtualBox.
sudo apt update && sudo apt install virtualbox-7.0
VirtualBox is open-source virtualization software from Oracle for creating virtual machines. With a virtual machine, you can run an operating system like an application inside your current operating system. It’s like a computer inside a computer.
These are called virtual machines because they’re basically emulating other operating systems, but they’re not really interacting with the computer system like a true operating system would.
Before installing Windows 10 in VirtualBox, let’s see what you need first:
First and foremost, you need to download a Windows 10 ISO. You can download Windows 10 32-bit or 64-bit, depending on your system.
It’s very easy to install VirtualBox on Ubuntu. All you need to do is to use the command below:
sudo apt install virtualbox
Start VirtualBox. You should see a screen like the one below.

Name the VM anything you like. Also select the operating system and version. In this case I’ve chosen Windows 10 and 64-bit.

Choose the RAM size. The recommended RAM size for 64-bit Windows 10 is 2 GB, while for 32-bit Windows 10 it’s 1 GB. But I suggest you have a little more than that for a smoother experience.

If you choose dynamic, the installed VM will grow beyond its allocated size later. If you’re not going to use Windows extensively, I suggest that you go with fixed size.

Now it’s time to finalize the installation size. You can choose where to create the virtual disk. The default location (Home directory) works fine.
You should now be back at the main screen of Oracle VirtualBox. Now everything is ready. The next step is to install Windows 10. Click on Start from the main screen:
Sintaxa funcției sum() este:
sum(iterabil, start)
Funcția sum() adaugă start și elemente ale iterabilului dat de la stânga la dreapta.
[mai mult...]