Institute of Computer Science
  1. Courses
  2. 2020/21 fall
  3. Introduction to Programming (MTAT.03.236)
ET
Log in

Introduction to Programming 2020/21 fall

  • Home
  • Grading
  • Links

Homework 8

The deadline is Sunday, the 1st of November, 23:59 (Estonian time).

Exercise 1. Flag

Choose a flag of any country (with at least three colors or with a complex figure in it) (http://www.flags.net/) and draw the flag with the turtle.

Hint: you can draw all kinds of shapes and lines between begin_fill() and end_fill().

Exercise 2. Asking input with GUI

Write a program that asks the user for his/her name and the number of his/her birthday month. The program then has to show a message that contains both the name of the user and the number of days in that month (for example, "John's was born in the month which has 31 days"). All information must be asked and shown with EasyGUI. To calculate the number of days in a month, use the function you wrote in one of the previous homework.

Go to Moodle and upload your solution into Homework 8.

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment