nums = input("Enter your numbers: ")
lst = nums.split()
new_lst = ([])
for i in lst:
if int(i) >= 0:
new_lst.append(int(i))
new_lst.sort()
for x in new_lst:
print(x, end=" ")
The above code is in case the user enters the numbers.
def func(lst):
lst.sort()
for i in lst:
if i >=0:
print(i, end=" ")
lst = ([10,-7, 4, 39, -6, 12, 2])
func(lst)
The above code is in case you must input the numbers manually via a function.
I hope this helps!
Dang, that's cool, but nobody really cares that you two have something going online
CFAA is an acronym that stands for Computer Fraud and Abuse Act. It is an anti-hacking bill that was passed to amend an existing computer fraud law. It aims to strengthen cyber security by forbidding access to computers without authorization.
I would think its the "<span>requirements analysis" phase.
Because the </span>requirements analysis<span>,</span><span> is the process of determining user expectations for a new or modified product.</span>