The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Python, how to input a complex number
04-29-2021, 02:36 PM
Post: #1
Python, how to input a complex number
According to Python documents, you can enter a complex number like this; var=complex(input())
For example, 3+5j
The Python App gives an error message here.
Could someone for me test / try this and explain what I'm doing wrong ?

— Dirk Hartland
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Python, how to input a complex number - Dirk.nl - 04-29-2021 02:36 PM



User(s) browsing this thread: