Merhaba arkadaslar bir uygulama için uzun uzun yazdım ama hem kısa yolu var mı öğrenmek istiyorum hem de ilerleyen süreçte alternatifler büyüyebilir diye for veya başka döngü ile nasıl yapılır gösterebilir misiniz ?
Amacım kullanıcıdan 24veya x veri alıp , bunları bir matrise sokabilmek. for döngüsü ile yapmaya çalıştım ama get() turple ile calısmıyor uyarısı aldım. Önerileriniz var mı ? yoksa her seferinde girdi sayısı artarsa alt alta çoğaltmak zorunda mıyım ?
A11_deger = float(a11.get())
A12_deger = float(a12.get())
A13_deger = float(a13.get())
A14_deger = float(a14.get())
A15_deger = float(a15.get())
A16_deger = float(a16.get())
A17_deger = float(a17.get())
A18_deger = float(a18.get())
A19_deger = float(a19.get())
A110_deger = float(a110.get())
A111_deger = float(a111.get())
A112_deger = float(a112.get())
A21_deger = float(a21.get())
A22_deger = float(a22.get())
A23_deger = float(a23.get())
A24_deger = float(a24.get())
A25_deger = float(a25.get())
A26_deger = float(a26.get())
A27_deger = float(a27.get())
A28_deger = float(a28.get())
A29_deger = float(a29.get())
A210_deger = float(a210.get())
A211_deger = float(a211.get())
A212_deger = float(a212.get())
evaluation = np.array(
[[A11_deger, A12_deger, A13_deger, A14_deger, A15_deger, A16_deger, A17_deger, A18_deger, A19_deger,
A110_deger, A111_deger, A112_deger],
[A21_deger, A22_deger, A23_deger, A24_deger, A25_deger, A26_deger, A27_deger, A28_deger, A29_deger,
A210_deger, A211_deger, A212_deger]])
a11 = Entry(content2, width=3)
a11.place(x=100, y=100)
a12 = Entry(content2, width=3)
a12.place(x=130, y=100)
a13 = Entry(content2, width=3)
a13.place(x=160, y=100)
a14 = Entry(content2, width=3)
a14.place(x=190, y=100)
a15 = Entry(content2, width=3)
a15.place(x=220, y=100)
a16 = Entry(content2, width=3)
a16.place(x=250, y=100)
a17 = Entry(content2, width=3)
a17.place(x=280, y=100)
a18 = Entry(content2, width=3)
a18.place(x=310, y=100)
a19 = Entry(content2, width=3)
a19.place(x=340, y=100)
a110 = Entry(content2, width=3)
a110.place(x=370, y=100)
a111 = Entry(content2, width=3)
a111.place(x=400, y=100)
a112 = Entry(content2, width=3)
a112.place(x=430, y=100)
a21 = Entry(content2, width=3)
a21.place(x=100, y=130)
a22 = Entry(content2, width=3)
a22.place(x=130, y=130)
a23 = Entry(content2, width=3)
a23.place(x=160, y=130)
a24 = Entry(content2, width=3)
a24.place(x=190, y=130)
a25 = Entry(content2, width=3)
a25.place(x=220, y=130)
a26 = Entry(content2, width=3)
a26.place(x=250, y=130)
a27 = Entry(content2, width=3)
a27.place(x=280, y=130)
a28 = Entry(content2, width=3)
a28.place(x=310, y=130)
a29 = Entry(content2, width=3)
a29.place(x=340, y=130)
a210 = Entry(content2, width=3)
a210.place(x=370, y=130)
a211 = Entry(content2, width=3)
a211.place(x=400, y=130)
a212 = Entry(content2, width=3)
a212.place(x=430, y=130)