Printing numbers 1 to 2
Write a program that print numbers 1 to 2 in the output
Write a program that print numbers 1 to 2 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
w = 1 while True: if w > 100: break else: print(w) w += 1
new = [] for i in range(1,101): new.append(i) else: print(new)
def a(m): print(m) if m == 1: return 1 return a(m-1) a(100)
for i in range(1,100): print(i)
print([ i for i in range(1,101)])
def print_numbers(start, end): lst_nums = [] while start <= end: lst_nums.append(start) start += 1 yield lst_nums print(f"List of numbers from 1 to 100: {next(print_numbers(1, 100))}")
def print_numbers(n): if n > 100: return print(n) print_numbers(n + 1) print_numbers(1)
Submitting answers is currently unavailable.
Write a program that gets distance to meters and converts to kilometers and shows at the output tips: each km = 1000 m
Write a program that has a graphical environment and can perform the sum, subtraction, multiplication and division operations on the infinite number. (Exactly like a real calculator)
Write a program that prints the number of number multiplying numbers 1 to 10
Write a program that prints each student's name according to the list below, and as much as his / her name, the star of his name prints the question. Try to use the nested rings Amir 5hooshang 7rez ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.