@wasiya2815/

khan khan

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CD=0
DVD=0
VIDEO=0
BOOKS=0
for count in range(1,5001):
  print("enter a five digit number")
  code=int(input())
  if code < 10000 or  code > 99999:
   print("invalid code")

if code >=10000 or code < 20000:
 CD = CD + 1
Elif code >= 20000 or code < 30000:
 DVD = DVD + 1
Elif code >= 30000 or code < 40000: