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
import string
import sys

show_name = raw_input("Enter the show name: ")
show_name = string.capwords(show_name)
print show_name
season = "Season "
while True:
  try:
    season_no = int(raw_input("Enter season no:"))
    if len(season_no) == 1:
      season+='0'
      season+=season_no
    else:
      season+=season_no
    print season
    episode_no = int(raw_input("Enter episode to start download from: "))
  except Exception as e:
    print "ERROR!!! Enter value of int type only"