Python 3 complex() built-in function TUTORIAL

preview_player
Показать описание
Tutorial on the complex() built-in function from the Python 3 Standard Library.

Documentation:

Resources:

⚙️ Recommended Computer Gear:

✈️ Recommended Digital Nomad Gear:
Рекомендации по теме
Комментарии
Автор

Thank❤🌹🙏 you so much Sir!! Very nicely explained!! Just to the point!! No exaggeration, no brags!! Excellent👍👍

programsolve
Автор

Hello Brendan! Thank you for the video. It would be great if you explained why do we need this function.

RR-hqcv
Автор

HI,
how we can store generated complex values in a variable? As while storing complex value in list or array, it is ignoring imaginary part or convert into float. Please help

SandeepRana-xnmk
Автор

complex() is a class, not function. I wrote in my new project: "print(complex(1, imag=2))" -> in command line written: "(1+2j)". If I wrote: "print(float(2+0j))" instead, in command line written: "TypeError: can't convert complex to float".

vladumnik