前言
暑期计划了很多东西,其中大部分是不适合通过博客记录的。博客能记录的只有Python、单片机和一些英语知识了。 其中,不打算在暑假认真钻研Python和单片机。英语知识也不如放进Anki里面记忆。博客约等于朋友圈文案了。
本次尝试制作英美音乐与文化的笔记,但是效果不太好 这个课真的非常值得看,可惜本人记不住那么多人名、歌名 😦 只能走马观花地了解一下那些蕴含在音乐中的故事了)
英美音乐TOPIC 1:
NEW WORDS:
respository 储存库、资料库 module 模块,组件 second-nature 第二天性,老习惯 forefront 最前线,最前部;活动的中心;(思考、关注的)重心 rote learning / memorization 死记硬背 arguably 可以说,按理说 colloquialism 名词;俗话,白话
punk rock 朋克摇滚乐 reggae 雷鬼音乐 Hip Hop 嘻哈音乐 Alternative Rock 另类摇滚 R&B 节奏蓝调 Indie Rock 独立摇滚 Heavy Metal 重金属
breed :a sort or kind of person or thing mega-star 巨星 fused with 融合 single 单曲 Platinum 白金;铂金奖
Intro 前奏 Verse 副歌 Chorus 诸葛
NICE EXPRESSION:
As the song goes 如歌词所说
When you’re free in your mind, nothing will worry you
Analogically, … 类比来说,…
The 1980’s witnessed a new breed of mega-stars
Some of the superstars to emerge were Madonna, Michael Jackson and Whitney Houston.
start with pop music, then branch out. 从…开始,然后拓展(音乐风格)
Trends and Events in Music
British Invasion
Interesting Topic:
How Does Culture Relate to Music
Culture shapes and defines music Culture is the insert repository of ideas and customs Music is an important part of culture Music helps us know other cultures Music is a bridge between cultures
What is culture
As we know, culture is the way we do things around us It affects us all no matter where we live or what we do
Music as Culture
Music is a key component in any kind of culture It’s a way to express the ideas and beliefs of that culture
Learn Language through Music
- Pick music you love
- Find music that uses the right language
- Find songs that tell stories
- Take some time to digest the lyrics and their meanings
- Sing from memory
Python
1.注释
'''
块注释
'''
"""
块注释
"""
算数运算符
// 取整除
/ 除
** 幂
* 和 + 可用于字符串
变量类型
复数型(complex)
列表、元组、字典
type()得到类型 python3.0整形都为int
强制转换:int(x),float(x)
输入输出
输入
input("请输入银行密码")
所有的输入都是字符型
输出
print()
print("格式化字符串" % (变量1, 变量2))
%s 字符串
%d 有符号十进制证书,%06d表示输出显示位数,不足用0补全
%f 浮点数,%.02f表示小数点后只显示两位
%% 输出%
命名规则
推荐命名规则
条件语句
if 条件:
依靠缩进来表示关系
else 条件:
逻辑运算
if a or b:
if a and b:
if not a and not b
if a:
pass
elif b:
print(a)
随机数
import random
random.randint(a, b)
函数
def 函数名():
"""函数信息"""
print("你好")
也有函数声明
函数名()
返回值、形参与C基本一样
列表
a = ["nihao","wozai"]
a.各类方法
放弃系统python
|