Calculate the average number of male users who posted tweets in a week.
male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7))
SELECT COUNT(DISTINCT T1.TweetID) / COUNT(DISTINCT T1.UserID) / 7 AS avg FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T2.Gender = 'Male' AND T1.Day BETWEEN 1 AND 31
database name:db_id social_media
location table location Cols: location id dtype integer, Country dtype text, State dtype text, state code dtype text, City dtype text, 
user table user Cols: user id dtype text, Gender dtype text, 
twitter table twitter Cols: tweet id dtype text, Weekday dtype text, Hour dtype integer, Day dtype integer, language dtype text, is reshare dtype text, Reach dtype integer, retweet count dtype integer, Likes dtype integer, Klout dtype integer, Sentiment dtype real, text dtype text, location id dtype integer, user id dtype text, 
