Countdown
Write a program that receives a number of input and from that number to zero countdown and prints in the output
Write a program that receives a number of input and from that number to zero countdown and prints in the output
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
num = int(input("enter a number and its inverse will go to zero:")) while num > 0: print (num) num = num - 1
def countdown(): # Get a number from the user number = int(input("لطفاً یک عدد وارد کنید: ")) # Countdown from the number entered to zero for i in range(number, -1, -1): print(i) # Implementation of the function countdown()
num = int(input("your number : ")) def max(num): while True: if num == -1: break else: print(num) num -= 1 max(num)
num = int(input('your number :'))# Receive number input from user while num > 0: pass print(num) pass num = num -1 # Reverse
number=int(input("your number:")) while True: if number>0: print(number) number=number-1
def print_countdown(number): while number >= 0: print(number) number -= 1 if number == -1: break print_countdown(number = int(input("Enter a number: ")))
num = int(input("enter your number:")) makos = [] for i in range(num,-1,-1): makos.append(i) else: print(makos)
Submitting answers is currently unavailable.
Write a function that receives a word and changes each letter to its next letter in the alphabet. Then returned the result. Indeed: "A" turns into "B" "" B "becomes" C "" C "becomes" D "and ........
Write a program that receives a text from the user as an input and all the words used in the text, along with the number of repeating them to the user, such as: Input: This is an Example. This is a text ... ...
CSS code to select all the following elements at once and change their background color to yellow<div class="yellow" id="box"></div><div class="yellow"></div><div class="yellow mybox"></div>Footer call to action
CSS Code Write to select all spans that are directly inside DIV and change the color of their text to red
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.