mit 6.00 自学笔记 01
DESCRIPTION
MIT 6.00 Introducntion to programming and CS 自学笔记, 用iPad (upad)写成TRANSCRIPT
Exercises:
1. Write a program that asks the users to type in a string,and then tells the user how long that string was.2. Ask the user for a string, and then for a number. Print outthat string, that many times. (For example, if the string isHELLO and the number is 3, you should print outHELLOHELLOHELLO .)3. What would happen if a mischievous user typed in a wordwhen you ask for a numb? Try it.