مشاركة حلول: عمل عداد تنازلي count down

عمل رائع :rose: @Jileidan
بامكانك الانتقال للمهمة التالية

2 Likes
count = 10

while count >= 0:
    print(count)
    count -= 1

print('launch !')
2 Likes

عمل رائع يا نورا :+1:

1 Like

عمل عداد تنازلي لوكالة ناسا :

print(“counting…”)
i = 10
while i >= 0 :
print(i)
i -= 1
print(“launched !”)

1 Like

ممتاز يا رقية :+1:

لو ممكن تقومي في المهام القادمة بتنسيق الاكواد كما هو موضح بالفيديو في الاعلى

print("counting...")
x = 10
while x >= 0:
    print(x)
    x = x - 1
print("launched !")

1 Like

عمل رائع يا احمد :+1:

هذا هو الكود الخاص بي :slight_smile:

print("counting...")
i=10
while (i>=0):
    print(1)
    i -=1
print("launched !")
1 Like

عمل رائع يا كمال :+1:

1 Like

شكرا استاذ ياسر ^^

1 Like

حل برنامج العد التنازلي لاطلاق ساروخ من طرف وكالة الفضاء ناسا

print("counting...")
while n >= 10 :
    print(n)
    n=n-1
print("launched !")
1 Like

عمل رائع يا ياسين :+1:

  • قمت بتعديل تنسيق الأكواد استعمل رمز ` بدلاً من .

حل برنامج ناسا للفضاء

print ('counting')

c = 10

while c >= 0:
     print (c)
     c = c -1

print ('launched !' + 'Good Bay')
1 Like

عمل رائع يا فادي :+1:

قمت بتعديل تنسيق الاكواد في تعليقك… استعمل الرمز ` بدلا من .

اضف 4 مسافات اول السطر قبل النص المنسق
print("counting...")
count=10
while count >= 0:
    print(count)
    count-=1
print("launched !")
2 Likes

Code:
=====

print("counting...")
count = 10
while(count >= 0):
    print(count)
    count -= 1
print("launched !")

Output:
======
counting…
10
9
8
7
6
5
4
3
2
1
0
launched !

1 Like

عمل مضبوط يا أحمد :+1:

1 Like
print('counting...')

remaining_time = 10
while remaining_time >= 0:
    print(remaining_time)
    remaining_time -= 1
    
print("launched !")
1 Like

عمل رائع يا نور الدين :+1:

nasa = 10
print('counting...')
while nasa >= 0:
    print(nasa)
    nasa -= 1
print('launched !')
1 Like