Skip to content

Commit 98e37d2

Browse files
authored
OwO, what's 156.2 degwees F towo C?
1 parent f7f5f4a commit 98e37d2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

exwamples/tempwatuwe_convewtew.pyowo

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
pwint("Chowoose an option UwU:")
2+
pwint("1. Convewt CeWsius to Fahwenheit")
3+
pwint("2. Convewt Fahwenheit to Cewsius")
4+
5+
optiowon = int(inpwt("Entew youw chowoice (1 or 2): "))
6+
7+
if optiowon == 1 THWEN
8+
temp_celsius = float(inpwt("Entew the tempewatuwe in Celsius: "))
9+
temp_fahrenheit = (temp_celsius * 1.8) + 32
10+
pwint(temp_celsius, "degwees Cewsius is equaw towo", temp_fahrenheit, "degrees Fahrenheit. OwO")
11+
ewif optiowon == 2 THWEN
12+
temp_fahrenheit = float(inpwt("Entew the tempewatuwe in Fahwenheit: "))
13+
temp_celsius = (temp_fahrenheit - 32) / 1.8
14+
pwint(temp_fahrenheit, "degwees Fahwenheit is equal towo", temp_celsius, "degwees Cewsius. UwU")
15+
ewse THWEN
16+
pwint("Invawid owoption. Pwease entew 1 or 2. TwT")

0 commit comments

Comments
 (0)