Pair numbers between 1 and 100
Write a program that prints paired numbers between 1 and 100
Write a program that prints paired numbers between 1 and 100
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
print(list(filter((lambda x: x % 2 == 0), range(1, 100))))
class Math: def __init__(self,number): self.number=number def Way(self): for i in range(1,number): if i%2==0: print(i) number=100 obj=Math(number) print(obj.Way())
n = int(input("number: ")) # Get a number # Find the pair numbers between 1 to the received number for i in range(1, n): if i % 2 == 0: print(i)
for i in range(100): a = (1+i) % 2 if a == 1: pass elif a == 0: print(i+1)
l = list(range(1, 101)) for i in l: if i % 2 == 0: print(i)
for x in range(1,51): print(x*2)
print([i for i in range(1,101) if i % 2==0 ])
Submitting answers is currently unavailable.
Write a program that receives a number and prints the figure below according to the number, the Number Example: 3 #######Number Example: 5 #######################
Write the absentee presentation program: The teacher enters the students' names in the classroom every day in a file with the name of that day in the name of that day and in the TXT format, the teacher can enter the date by entering the date ...
Write a program that receives 2 users and calculates the Fibonacci series (between those two) and prints in the output
Write a code that uploads a video with an address (test) on the page. There are video control buttons too
You must be logged in to access this section.
Login/Sign up 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.