This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
u25-29lapeko
/
practic_2
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Rama:
master
Ramas
Etiquetas
branch/second
branch/third
master
vetka/first
practic_2
/
4.6b.py
4.6b.py
119 B
Permalink
Histórico
Raw
1
2
3
4
5
6
7
x = float(input('Введите x: '))
if x < 3:
y = -1 * x
print('y=', y)
else:
y = -3
print('y=', y)