-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAir_conditioner.py
More file actions
60 lines (60 loc) · 1.38 KB
/
Air_conditioner.py
File metadata and controls
60 lines (60 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "Air_conditioner.ipynb",
"provenance": [],
"authorship_tag": "ABX9TyPFP8+M607lPUbiUKHeQUE6",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/taqro/code-write-everyday/blob/master/Air_conditioner.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "R7fkXcqGx92y",
"outputId": "39d84ca3-275f-4089-da71-200f0471d275"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"30\n",
"Yes\n"
]
}
],
"source": [
"X = int(input())\n",
"\n",
"if X >= 30:\n",
" print(\"Yes\")\n",
"else:\n",
" print(\"No\")"
]
}
]
}