Python Online Compiler & Playground
HTML/CSS/JavaScript
HTML
CSS
Javascript
C++
C
PHP
Java
Python
Swift
C#
Ruby
Node.JS
Kotlin
jQuery
Go
R
TypeScript
Start Python Course
Register
what's going here?
+2
Author: ahsan rzingpa
Dark
Public
Save
PY
py
1
2
3
4
5
6
7
8
9
10
11
12
list
=
list
(
range
(
5
))
print
(
list
)
count=
0
for
a
in
list
:
b=
int
(
input
())
if
(
a==
2
in
list
and
b==
3
):
count +=
1
print
(
count
)
Enter to Rename, Shift+Enter to Preview
OUTPUT