6 תשובות
מה השאלה?
num1=int(input("enter num")
num2=int(input("enter num")

וכך הלאה 5 פעמים ...

x=int(input("enter num")

sum=num1+num2+num3+num4+num5

if sum==x:
print ("true")

else:
print ("false")
אנונימית
סליחה אם זה מבולגן , תנסה לכתוב את זה בפייתון תגיד אם עבד
אנונימית
a = int(input("input 1 number"))
b = int(input("input 2 number"))
c = int(input("input 3 number"))
d = int(input("input 4 number"))
e = int(input("input 5 number"))

x = int(input("input x number"))
fn = a+b+c+d+e
if x == fn:
print("true")
else:
print("fals")
זה אמור לעבוד^
איזה חומר חמוד זה אני מתגעגעת