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
Avatarsourav asked 3 months 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
AvatarMikhail answered 3 months ago
Your Answer

10 + 17 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com