# -*- coding: UTF-8 -*-
import time;
import calendar;
import random;
# a = 'mamengchao'
# print a[1:3]
# print a * 3
# print a + 'haha'
# print '-------------------------------------'
#
# lists = ['ma', 'meng', 'chao', 1]
# lists2 = [1, 22, 3]
# print lists
# print lists[0:3]
# print lists * 2
# print lists + lists2
# print '-------------------------------------'
#
# maps = {'1':'ma', '2':'meng', '3':'chao'}
# print maps['1']
#
# aaa = 33
# bbb = 33
# if (aaa is bbb):
#     print 'duide'
#
# if (id(aaa) is id(bbb)):
#     print 'duide'
# else:
#     print 'budui'
# print '-------------------------------------'
#
# count = 0
# while count < 5:
#     print count, "is less than 5"
#     count += 1
# else:
#     print count, "is more than 5"
#
# for a in 'mamengchao':
#     print a
#
# newlist = ['haah', 'wawa', 'lala']
# for a in range(len(newlist)):
#     print a, ' ', newlist[a]
#
# print 'abc\'def'
# lista = [[1 for i in range(2)] for i in range(2)]
# print lista
#
# mapa = {'name': 'mechao', 'age': 18, 100: 'wudi'}
# print mapa.items()
# print str(mapa)
# print mapa.keys()
# print mapa.values()

# print time.asctime()
# print time.asctime(time.localtime(time.time()))
# print calendar.month(2017, 4)

def fun1(a, *b):
    result = []
    for var in b:
        result.append(var)
    return result;

def fun2(a):
    a.append(['a', 'b'])
    return

b = 3
c = [1, 2, 3]
# fun1(b)
# fun2(c)
# print 'b = ', b
# print 'c = ', c
















