Loading Events

« All Events

  • This event has passed.

11 AM – Intro To Python – Gamas

September 26 @ 11:00 am - 12:00 pm
Today We Did
  1. We draw a car using Python turtle
  2. We learn more about function
Homework
  1. For each of below functions you have to identify
    1. function name
    2. and parameters name
  2. Create sep_26_function_hw_3.py
    1. Copy and paste below codes and try to call each of the function
    2.  
      # function name - ?
      # parameters name - ?
      def add_two_number(num1, num2):
         result = num1 + num2
         print(result)
      
      # function name - ?
      # parameters name - ?
      def play_game(game_name):
         print(f"I am playing {game_name}")
      
      # function name - ?
      # parameters name - ?
      def eat_food(food_name):
         print(f"I enjoy eating {food_name}")
      
      # function name - ?
      # parameters name - ?
      def favorite_movie(movie)
         print(f"I really like watching {movie}")
      
      # call each of the function above twice

Details

  • Date: September 26
  • Time:
    11:00 am - 12:00 pm