Join the conversation

sir you explained well
Reply

Great learning
Reply

Learning
Reply

mashallah bohat a6a andaaz sai ap nai explain kia
Reply

where is oop
Reply

mera pass nahi print ho raha sirf 111111 hi print ho raha hy?
Reply

x = 12
y = 11if x == y:
print("x is equal to y")
elif x != y:
print("x is not equal to y")
Reply

c=int(input("enter a number"))
print(c)
if c > 0:
print("c is positive")
elif c < 0:
print("c is negative")
else:
print("c is zero")
Reply

if x==10:
print("x is positive")
elif x!=10:
print("x is not negative")
else:
print("x is ten")
return "x is positive"
Reply

Assignment
# #fruits = ("apple","bannana")
# # for x in fruit:
# # print(x)
# # for x in fruits[0]:
# # print(x)
# # a = 1
# # while a <5:
# # a += 3
# # print(a)
# # a = 1
# # while a b:
# # print("a is greater than b")# # a=5
# # b=4
# # if a<b>b)
# a=5
# b=3
# print(a<b>=b)# a=5
# b=4.5
# print(a<=b)a=4
b=4.5
print(a<=b)
Reply