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 program that gets 3 numbers and prints the most in the output
Write a program that receives a numeric as A from the input and prints all the first numbers smaller than A.
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 program that receives the address of a file as input and prints the file size to megabyte on the output
Write a program that receives the age of father and son from the input and prints them (subtraction) in the output
Write a program that receives any professors including name, age and city from the entrance.
We have a list of different items along with their discount percentage and we want to know how much the final price of each product is after considering the discount. Write a program that gets the product price as below and the percentage of discount ...
We want to open the cow door, we don't know the password, but we have the following information: the second -digit safing password and the fifth digit equivalent to the first number of the first digit of a larger unit ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.