OJD Education, Lucknow Branch
رفتن به کانال در Telegram
OJD Education 🖥 Best Computer Institution in Lucknow for Nielit O Level CCC Tally Digital Marketing Python Java PHP Training Machine Learning, Artificial intelligence Graphic Designing , C C++ and Manny Course
نمایش بیشتر636
مشترکین
اطلاعاتی وجود ندارد24 ساعت
+27 روز
+830 روز
آرشیو پست ها
a = 33
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
elif b
Python Conditions and If statements
Python supports the usual logical conditions from mathematics:
Equals: a == b
Not Equals: a != b
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b
These conditions can be used in several ways, most commonly in "if statements" and loops.
An "if statement" is written by using the if keyword.
write a program to find highest marks within 3 students, using python ?
a = 20
b = 25
if b > a:
print("b is greater than a")
else:
print("b is smaller than a")
Q.An analog computer uses an analog signal which is usually represented as what?
Q.Who gave the first successful demonstration of use of a simplified analytical engine in computing tables in 1888?
Q.Which of the following devices comprise the output unit?
Q.Which among the following has been standardized in the IEEE 802.3 specification?
Q.The terms Goodput, Throughput and Maximum throughput are most closely associated with which among the following in computers?
Q.Which of the following transforms input data into output data?
Q.The slogan “Write once, run anywhere” is related to which of the following programming languages?
empcode =int(input("enter your emp code"))
mycode=1001
salary= 25000
if mycode == empcode:
print("rohit salary is",salary)
else:
print("your salary is empty")
a=input("Enter your name ")
b=input("enter your salary")
print(a)
print(b)
