Computer Science, asked by ProBroJokesMan, 7 months ago

*PYTHON PROGRAMMING LANGUAGE*
I WOULD EXPECT RELEVANT ANSWER NOT LIKE "plzz wait i will give your answer in a moment bcuz I have seen that happen a lot

IRRELEVANCE WILL BE REPORTED
PLZZZZZZ ASAP FOR BRAINLIEST



Q1. You have written an exam for a total score of 100 and if your score is above 60 then you will be considered as PASS in the exam.


Q2. Enter the weight of the suitcase in float. Check whether the weight is greater than 25 kg then print - There is a Rs. 250 charge for luggage that heavy.


Q3. Enter temperature(in Celsius) in float. Check whether the temperature is more than 50 then print – It is unbearably hot weather.



Q4. Enter a (int) number. Check whether the number is even or odd. (use % for remainder and comparison Equal to operator ==

Answers

Answered by Kaushikkalesh
1

1) mark = int(input())

if mark > 60:

print("PASS")

else:

print("FAIL")

2) weight = float(input())

if weight > 25:

print("There is a Rs. 250 charge for luggage that heavy.")

3) temp = float(input())

if temp > 50:

print("It is unbearably hot weather.")

4) num = int(input())

if num != 0:

if num%2 == 0:

print(num, " is Even")

else:

print(num, " is Odd")

else:

print(num, " is Even")

Please Thank Me

Please Thank MeAnd Mark this as Brainliest

Answered by gaganadithyareddy9
1

Answer:

Hey! Here are your Python programs for each question...

Question 1 answer:

marks = float(input("Enter your marks(out of 100): "))

if marks>60:

print("Congratulations! You passed the exam...")

else:

print("YOU ARE FAILED!!")

Question 2 answer:

w = float(input("Enter weight of suitcase: "))

if w>25:

print("There is a 250 charge for luggage that heavy. . .")

else:

print("There is no charge for your luggage. . .")

Question 3 answer:

temp = float(input("Enter temparature in Celsius °: "))

if temp>50:

print("It is unbearably hot weather. . .")

else:

print("It is not unbearable weather. . .")

Question 4 answer:

num = int(input("Enter a number: "))

if num%2 == 0:

print("The number you entered is an even number. . .")

else:

print("The number you entered is an odd number. . .")

# HOPE THIS HELPS YOU!!

# PLEASE MARK MY ANSWER AS BRAINLIEST. . .

Similar questions