خرید بک لینک

Vote count: 0

i'm really new to Python and am completely stuck

is there any way to make the less than value a variable

for example

x = int(input ("Input a value for x: "))
i = 1

while i < x:
    x += i
    i += 1
else:

    print ("here is your new number:", x,)

whenever i use this, nothing happens

thanks for your help

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 24 اسفند 1394 ساعت: 8:24

صفحه بندی