




السمعة:
- إنضم20 أغسطس 2023
- المشاركات 178
- الحلول 10
- مستوى التفاعل 400
- النقاط 63
السلام عليكم ورحمه الله وبركاته
تحدي اليوم خفيف ولطيف ومستواه سهل .
التعديل الأخير:
Follow along with the video below to see how to install our site as a web app on your home screen.
ملاحظة: This feature may not be available in some browsers.
السمعة:
السمعة:
السمعة:
u = input("Enter unit (C/F): ")
if u.lower() == "c":
t = float(input("Enter temperature in Celsius: "))
f = (t * 9/5) + 32
print("Temperature in Fahrenheit:", f)
elif u.lower() == "f":
t = float(input("Enter temperature in Fahrenheit: "))
c = (t - 32) * 5/9
print("Temperature in Celsius:", c)
else:
print("Invalid unit. Please enter 'C' or 'F'.")