Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
правильные окончания
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
s = int (input()) n1 =" программистов" n2 =" программист" n3 =" программиста" if s>=0: if s==0: print(str(s) + n1) elif s%100>=10 and s%100<=20: print(str(s) + n1) elif s%10==1: print(str(s) + n2) elif s%10>=2 and s%10<=4: print(str(s) + n3) else: print(str(s) + n1)
1001
[
-
]
Show input
Absolute running time: 0.34 sec, cpu time: 0.29 sec, memory peak: 6 Mb, absolute service time: 0,35 sec
edit mode
|
history
|
discussion
1001 программист