From 3cd0f543f08d02fc26aa1db223437b0527cca775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Sat, 20 May 2023 19:11:29 +0300 Subject: [PATCH] int to list --- int.to.list.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 int.to.list.py diff --git a/int.to.list.py b/int.to.list.py new file mode 100644 index 0000000..0fed2bb --- /dev/null +++ b/int.to.list.py @@ -0,0 +1,5 @@ +s = input('Liste değerlerini aralarına boşluk karakterleri koyarak giriniz:') +a = [] +for s in s.split(): + a.append(int(s)) +print(a)