Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Python

Ребята, помогите решить задачу ☹️ Вообще не понимаю с чего начинать... вот условия задачи: Напишите программу которая проверяет кипит ли вода. Получите температуру в качестве ввода (по шкале Цельсия) и выведите "Boiling" если температура выше или ровна 100. Пример входных данных: 105 Пример выходных данных: Boiling

9th Apr 2021, 5:19 PM
Rostyslav Baryshok
15 Answers
+ 3
This could work: temperature = int(input()) if temperature >= 100: print('Boiling') else: print('Not boiling')
9th Apr 2021, 9:48 PM
Josh Greig
Josh Greig - avatar
+ 2
Temperature = int(input()) If temperature >= 100: Print(“boiling”) Else: Print (“not boiling”)
16th Apr 2022, 7:25 AM
Chris
Chris - avatar
+ 1
temperature = int(input()) If temperature >= 100: Print ("boiling") else: Print("not boiling")
24th Apr 2021, 11:29 AM
Rakesh Lucky
Rakesh Lucky - avatar
+ 1
Rakesh, Print(with capital P) doesn't exist in Python but otherwise your answer is almost an exact copy of mine from a month earlier.
13th Jun 2021, 12:29 PM
Josh Greig
Josh Greig - avatar
+ 1
14th Jun 2021, 11:54 AM
BuzzTowns
BuzzTowns - avatar
+ 1
THE ANSWER FOR YOUR CODE IS :- Temp=(int(input())) if temp >= 100: print(Not Boiling) else: print( Boiling )
24th Apr 2022, 3:59 AM
AARAV PANDEY
AARAV PANDEY - avatar
+ 1
Конечно, вот простая программа на Python для решения вашей задачи: ```python # Получаем температуру в качестве ввода от пользователя temperature = float(input("Введите температуру в градусах Цельсия: ")) # Проверяем условие if temperature >= 100: print("Boiling") else: print("Not Boiling") ``` Эта программа запрашивает у пользователя ввод температуры в градусах Цельсия, затем проверяет, является ли введенная температура выше или равной 100. В зависимости от результата выводится соответствующее сообщение.
8th Jan 2024, 2:29 AM
𝐀𝐲𝐞𝐬𝐡𝐚 𝐍𝐨𝐨𝐫
𝐀𝐲𝐞𝐬𝐡𝐚 𝐍𝐨𝐨𝐫 - avatar
0
Спасибо 👍 помог очень!
10th Apr 2021, 11:39 AM
Rostyslav Baryshok
0
💌 is app solo learn is very essy
17th Jun 2021, 10:52 AM
Yes r arphat
Yes r arphat - avatar
0
u are all benders
19th Nov 2021, 11:14 AM
Kanye Oman West
0
Solution to the problem. def boiling(temp: int) -> str: return "Boiling" if temp >= 100 else "Not boiling" print(boiling(int(input())))
15th Feb 2022, 3:39 PM
Xander Tedder
0
I don't understand ur language
26th May 2022, 3:35 PM
Hrithika Reddy
Hrithika Reddy - avatar
0
# Pide al usuario que ingrese los ahorros savings = input() # Convierte la entrada del usuario en un valor decimal y actualiza la variable savings = # Los ahorros crecen después de 1 año con ñuna tasa de interés anual del 5% balance = savings * 1.05 # Convierte el saldo en una cadena y actualiza la variable balance = # Concatena las 2 cadenas para producir un mensaje message = "Amount in 1 year: " + balance # Muestra el mensaje
23rd Sep 2023, 2:56 PM
Samuel Gonzáles
Samuel Gonzáles - avatar
0
Python is presently the mainly used multi-purpose, actual level programming language, which permits programming in Article Situated and Procedural ideal models. Python programs by and large are more modest than other programming languages like Java. Software engineers need to type generally less and the space necessity of the language, makes them meaningful constantly. Python is a leaned toward programming language. Python can be utilized to deal with large information and perform complex science. Python can be utilized for fast prototyping, or for creation prepared programming improvement This Python tutorial educational exercise is very appropriate for beginner, and further more for experienced software engineers with other programming Language like C++ and Java. This exceptionally planned Python informational exercise will assist you with learning Python Programming Language in the most effective manner, with subjects from essentials to cutting edge (like Web-scratching, Django, Profound Learning, and so forth) with models. This Python informational class covers the essentials of Python and how to apply it to true applications. The modules, example end activities, and tasks containing the educational plan cover information activities in Python, strings, contingent proclamations, mistake dealing with, shell prearranging, web scratching and the regularly utilized Python web system Django.Come to <a href="https://www.3ritechnologies.com/course/python-programming-training-in-pune/">Python Training in Pune</a> If you need more information about Python then you can Full information about Python Training in Pune
27th Sep 2023, 11:28 AM
meena