1904 : (재귀함수) 두 수 사이의 홀수 출력하기

a,b=map(int,input().split())
def odd(a,b):
  if b<a:
    return 0
  elif b % 2 != 0:
    odd(a,b-1)
    print(b)
  elif b % 2 == 0:
    odd(a,b-1)
odd(a,b)
  
    
  
    
    
    

+ Recent posts