πŸ“Š Python
Q. What will be the type of the variable sorted_numbers in the below code snippet?
Code:
numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
print(sorted_numbers)
  • (A) List
  • (B) Tuple
  • (C) String
  • (D) Int
πŸ’¬ Discuss
βœ… Correct Answer: (A) List

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
4434
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akash Lawaniya
Publisher
πŸ“ˆ
93%
Success Rate