Try to search your question here, if you can't find : Ask Any Question Now ?

Python: mutiplying a boolean array, documentation

HomeCategory: stackoverflowPython: mutiplying a boolean array, documentation
sourav asked 2 weeks ago

Where can I find documentation on the code below? Why does multiplying an array by 2, inserts another False into the array?

print( [False] * 2 )

output: [False, False]
1 Answers
Best Answer
Mikhail answered 2 weeks ago
Your Answer

0 + 1 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com