Compare 2 numbers
Write a program that receives 2 numbers from the input and prints the larger number
Write a program that receives 2 numbers from the input and prints the larger number
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(" namber:") b = int(input("shomare : ") if a > b : print(a) else: print(b)
entry1 = int(input("your number : ")) entry2 = int(input("your number : ")) def chap(num1,num2): if num1 > num2: print(f"number is big : {num1}") elif num1 < num2: print(f"number is big : {num2}") elif num1 == num2: print(f"number1 and number2 is equal") chap(entry1,entry2)
num1 = int(input("number 1: ")) num2 = int(input("number 2: ")) if num1 >= num2: print(num1) else: print(num2)
a=int(input('num:')) b=int(input('num:')) c=0 if a>0: c=a if b>a: c=b print(c)
X=float(input("x: ")) Y=float(input("y: ")) if X>Y: max=X else:max=Y print(max)
A = int(input("Enter Number: ")) B = int(input("Enter Number: ")) Max =max(A,B) print(Max)
num1 = float(input("لطفاً عدد اول را وارد کنید: ")) num2 = float(input("لطفاً عدد دوم را وارد کنید: ")) # Compare and print larger number if num1 > num2: print(f"عدد بزرگتر: {num1}") elif num2 > num1: print(f"عدد بزرگتر: {num2}") else: print("هر دو عدد برابر هستند.")
Submitting answers is currently unavailable.
Write a function that receives 2 numbers as parameter (A and B) and get A to power B and return
Suppose we have the following 2 tables Users-> name, idbooks-> User_id, id, name 1- Write a query that shows user-related books at No. 2- Write a query to user names a ...
Write a function that receives the number of hours of employee work per month as a parameter and calculates the amount of employee salaries according to the formula below and returns each employee for 2 hours of work per month, per hour at 4 ...
Write a program that receives a one -digit number from the input and finds the coefficient of smaller than 100 of those numbers and prints in the output
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.