>>> a=frozenset(set([5,6,7]))
>>> a
a) {5,6,7}
b) frozenset({5,6,7})
c) Error, not possible to convert set into frozenset
d) Syntax error
What is the syntax of the following Python code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the syntax of the following Python code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!