This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

14 lines
271 B
Python

def sortTuple(tup):
lst = list(tup)
times = int(input("Number of integers as input:"))
for i in range(times):
a = int(input("Enter integer:"))
lst.append(a)
lst.sort(reverse=True)
return lst
T1 = tuple()
T1 = sortTuple(T1)
print(T1)