Friday, November 19, 2021
QUOTES
python code for multiplication tables
#python code for multiplication tables
a = int(input("Enter the number: "))
for i in range (1,21):
c = a*i
print(a, "x",i, "=",c)
python code to find a square root maker :-
#python code to make a square root finder
number = int(input("enter a number: "))
sqrt = number ** 0.5
print("square root:", sqrt)
PYHTON CODE TO MAKE A CALCULATOR
#pyhton code to make a calculator
def add (x, y):
return x + y
def subtract(x, y):
return x - y
def multiply(x, y):
return x * y
def divide(x, y):
return x / y
print("select operation.")
print("1.Add")
print("2.Subtract")
print("3.Multiply")
print("4.Divide")
while True:
choice = input("Enter choice(1/2/3/4): ")
if choice in ('1', '2', '3', '4',):
num1 = float(input("enter first number: "))
num2 = float(input("enter second number: "))
if choice =='1':
print(num1, "+", num2, "+", add(num1, num2))
elif choice =='2':
print(num1, "-", num2, "-", subtract(num1, num2))
elif choice =='3':
print(num1, "*", num2, "*", multiply(num1, num2))
elif choice =='4':
print(num1, "/", num2, "/", divide(num1, num2))
THANKYOU😊
Monday, November 8, 2021
STORY OF LIGHTNING AND SAFETY
STORY OF LIGHTNING
WE ALL KNOW THAT DURING THE DEVELOPMENT OF A THUNDER
STORM , THE AIR CURRENTS MOVE UPWARDS WHILE THE WATER DROPLETS MOVE DOWNWARDS.
THESE VIGOROUS MOMENTS CAUSE CHARGES. THE POSITIVE CHARGES COLLOECT NEAR THE
UPPER EDGES OF THE CLOUDS AND THE NEGATIVE CHARGES COLLOCT NEAR THE LOWER EDGES
OF THE CLOUDS. THERE IS ACCUMULATION OF POSITIVE CHARGES NEAR THE GROUND ALSO
WHEN THE MANGNITUDE OF ACCUMULATED CHARGES BECOMES VERY LARGE, THE AIR WHICH IS
NORMALLY A POOR CONDUCTOR OF ELECTRICITY IS NO LONGER ABLE TO RESIST THEIR
FLOW. THE NEGATIVE AND POSITIVE CHARGES MEET, PRODUCING STREAKS OF BRIGHT LIGHT
AND SOUND. WE SEE STEAKS AS LIGHTNING.
LIGHTNING SAFETY
· DURING THE LIGHTNING AND THUNDERSTORM NO OPEN PLACE
IS SAFE (A HOUSE OR A BUILDING IS A SAFER PLACE, IF YOU ARE
TRAVELLING BY A CAR OR A BUS, YOU ARE SAFE INSIDE WITH DOORS AND WINDOWS OF THE
VEHICLE SHUT)
· HEARING THUNDER IS AN ALERT TO RUSH TO A SAFER
PLACE.
· AFTER HEARING THE LAST THUNDER, WAIT FOR SOME TIME
BEFORE COMING OUT OF THE SAFER PLACE
· OPEN CEHICLES LIKE MOTORBIKES, TRACTORS, OPEN CARS
ARE NOT SAFE.
· CARRYING AN UMBRELLA IS NOT AT ALL A GOOD IDEA
DURING THUNDERSTORM.
· IF NO SHELTER IS AVAILABLE AND YOU ARE IN AN OPEN
FIELD, STAY AWAY FROM ALL TREES. STAY AWAY FROM POLES OR OTHER METAL OBJECTS.
DO NOT LIE ON THE GROUND INSTEAD, SQUAT LOW ON THE GROUND. PLACE YOUR HANDS ON
YOUR KNEES WITH YOUR HEAD BETWEEN YOUR HANDS THIS POSITION WILL MAKE YOU THE
SMALLEST TARGET TO BE STRUCK.
· IN HOUSE DURING LIGHTNING CONTACT WITH TELEPHONE
CHORDS, ELECTRICAL WIRES AND METAL PIPES SHOULD BE AVOIDED
· ELECTRICAL APPLIANCES LIKE, TV COMPUTERS SHOULD BE
UNPLUGGED.
· ELECTRICAL LIGHTS CAN REMAIN ON. THEY DO NOT CAUSE
ANY HARM.
THANKYOU FOR READING 😍🥰🥰
words to use instead of :- 1. broad - wide 2. complicated - complex 3. extra...