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

11 lines
196 B
Python

List1 = [12,"abc",45.90,"1a",-34,"###"]
List2 = []
for i in List1:
if i!=str:
List2.append(i)
List1.remove(i)
print("Values in List1:",List1)
print("values in List2:",List2)