The segmentability of the two numbers
Write a program that receives two A and B numbers from the user and checks whether the number A by B is segmentable.
Write a program that receives two A and B numbers from the user and checks whether the number A by B is segmentable.
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
a = int(input("number1:")) y = int(input("number2:")) if y > a: e = y % a if e == 0: print("True") else: print("False") else: e = a % y if e == 0: print("True") else: print("False")
while True: a = int(input("enter a number: ")) b = int(input("enter a number2:(b!=0) ")) if a % b == 0: print("yes") else: print("No")
while 1: a = int(input("number 1 : ")) b = int(input("number 2 : ")) if b != 0: if a % b == 0: print("bakhshpazir ast") else: print("bakhshpazir nist") else: print(" number 2 can't be (0)")
def bakhsh_paziri(): a = float(input("Enter the first number: ")) b = float(input("Enter the second number: ")) if a//b == 0: return True else: return False print(bakhsh_paziri())
a=int(input("a:")) b=int(input('b:')) print(a%b==0)
a = int(input("enter your number:")) b = int(input("enter your number:")) if a % b == 0: print(True) else: print(False)
a=int(input("Enter a number: ")) b=int(input("Enter a number: ")) c=(a%b) if c==0: print("True")
Submitting answers is currently unavailable.
Write a function that receives some and checks whether the amount received is the email. If the email was True, otherwise the False return the email should contain @ before @ should be a phrase as a work name ...
Write a function to get 2 disciplines and search the second string in the first string. If there was the second string in the first string, TRUE and otherwise False returns: To search, you should not use ready -to -use functions ...
Write a program that receives the radius of the circle and prints its area and environmental area = radius * Pi (3.14) circle environment = diameter (radius * 2) * Pi (3.14)
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.