This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
u25-29kolmykov
/
practical-1
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Rama:
master
Ramas
Etiquetas
master
practical-1
/
practical-2
/
4.6(а).py
4.6(а).py
93 B
Permalink
Histórico
Raw
1
2
3
4
5
6
7
8
x = float(input("Введите x: "))
if x <= 2:
y = x
else:
y = 2
print("y =", y)