0

Can we have a boolean in a python list?

11th Nov 2018, 3:25 PM
Neeti Joshi
Neeti Joshi - avatar
2 Antworten
+ 7
Sure! [True, 1, "one"] is a valid list.
11th Nov 2018, 3:38 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
You could have tried by yourself BTW.
11th Nov 2018, 5:26 PM
Roneel
Roneel - avatar