第一册:lesson fifty five。

原文: The Sawyer family.

The Sawyers live at 87 King street.

In the morning Mr.Sawyer goes to work and the children go to school.

Their father takes them to school every day.

Mrs.Sawyer stays at home every day.

She does the housework.  She always eats her lunch at noon.

In the afternoon,she usually sees her friends. They often drink tea together.

In the evening,the children come home from school. They arrive home early.Mr.Sawyer comes home from work. He arrives home late.

At night, the children always do their homework. Then they go to bed.

Mr.Sawyer usually reads his newspaper,but sometimes he and his wife watch television.

---------------------------------------------------------------------------------------------------------------------

单词:

the Swayers . 姓氏前加s  前面加the   指一家人。

in the morning/afternoon/evening       at night/ nonn

转载于:https://www.cnblogs.com/zhangyuhao/p/10537056.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,您可以尝试这个Python程序来实现数字转换成英文句子的功能: def num2eng(num): if num == 0: return "zero" # 定义常量 units = ["", "thousand", "million", "billion"] digits = ["", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] tens = ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"] teens = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"] # 递归函数,将三位数及以下的数字转换成英文句子 def helper(num): if num == 0: return "" elif num < 10: return digits[num] elif num < 20: return teens[num - 10] elif num < 100: return tens[num // 10] + (" " + helper(num % 10) if num % 10 != 0 else "") else: return digits[num // 100] + " hundred" + (" and " + helper(num % 100) if num % 100 != 0 else "") # 将数字分段并转换成英文句子 res = "" for i in range(len(units)): if num % 1000 != 0: res = helper(num % 1000) + " " + units[i] + " " + res num //= 1000 # 去除英文句子中的多余空格,并返回结果 return res.strip() # 测试程序,输出一些样例结果 print(num2eng(22)) # twenty two print(num2eng(100)) # one hundred print(num2eng(145)) # one hundred and forty five print(num2eng(1234)) # one thousand two hundred and thirty four print(num2eng(8088)) # eight thousand eighty eight print(num2eng(486669)) # four hundred and eighty six thousand six hundred and sixty nine print(num2eng(1652510)) # one million six hundred and fifty two thousand five hundred and ten

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值