It is simply IMPOSSIBLE to become a programmer without doing exercises, ie without putting your hand in the dough, breaking your head and trying to program alone.
Therefore, throughout our course, we will propose exercises that you should try as hard as possible to solve them.
Exercises in Python with print function
1. On-Screen Phrase - Implement a program that writes on the screen the phrase "The first program we never forget!".
2. Label - Create a program that writes your full name on the first line, your address on the second, and the zip code and phone number on the third.
3. Music lyrics - Make a program that shows on the screen a song letter that you like (please, Justin Bieber lyrics not).
4. Message - Write a message to a person you care about. Implement a program that prints this message, take a print and send it to that person. Say it was a virus that some hacker installed on your computer.
5. To the site - Make a program that shows on the screen what you want to do using your Python knowledge.
6. Square - Write a program that shows the following figure:
2. Label - Create a program that writes your full name on the first line, your address on the second, and the zip code and phone number on the third.
3. Music lyrics - Make a program that shows on the screen a song letter that you like (please, Justin Bieber lyrics not).
4. Message - Write a message to a person you care about. Implement a program that prints this message, take a print and send it to that person. Say it was a virus that some hacker installed on your computer.
5. To the site - Make a program that shows on the screen what you want to do using your Python knowledge.
6. Square - Write a program that shows the following figure:
XXXXX
X X
X X
X X
XXXXX
7. Gradebook - You have been contracted by a school to make the student bulletin system. As a first step, write a program that produces the following output:
STUDENT GRADE
========= =====
ALINE A
MARIO C
SERGIO A+
SHIRLEY B
'L' would look like this:
L
L
L
LLLLL
Customer base
0 - End
1 - Includes
2 - Change
3 - Excludes
4 - Consultation
Option:
Enrich the drawing with other characters, simulating embellishments.
X
XXX
XXXXX
XXXXXXX
XXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXX
XXXXXXXXXXXXXXX
XX
XX
XXXX
Write your code in comments!
No comments:
Post a Comment