Python代写 | HS1031 Introduction of Programming

本次Python代写是完成单词统计、乘法口诀等练习

HS1031 Introduction of Programming

1. Characters Count
Write a program (name it charCount.py) that counts the number of letters (small/capital),
numbers and special characters in a given string, and then prints out the output.
For example:
 For the following string:
string1= “jbj83536&#$7kKJH!!”
The output would be:
Number of letters is: 7
Number of numbers is: 6
Number of special characters is: 5
 For the following string:
string2=”*&59FGnds^%837bv”
The output would be:
Number of letters is: 7
Number of numbers is: 5
Number of special characters is: 4
Marks Distribution
Criteria Comments Logic Execution Total
Mark 2 2 2 6
2. Multiplication Table:
Write a program that prints out the multiplication table for numbers from 1 to 12. The output must
be formatted such that 5 spaces are reserved for each digit.
Your output should look like this:
3. Sentence Forming
Write a program that forms a sentence out of two lists. The program concatenates the
corresponding items from each list sequentially, and then prints out the resulting sentence.
For example:
For the following lists:
lst1= [“Py”, “pro”, “i”, “fu”]
lst2= [“thon”, “gramming”, “s”, “n!”]
The output would be:
Python programming is fun!


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: [email protected]  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论