fork download
  1. Yrs = int(input("Enter your age"))
  2. D = Yrs * 365
  3. W = D / 7
  4. M = W/4
  5. print ("Your age in years is: ", Yrs)
  6. print ("Your age in months is: ", M)
Success #stdin #stdout 0.02s 5864KB
stdin
2
stdout
Enter your ageYour age in years is:  2
Your age in months is:  26.0714285714