American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4PM Python Level 1

May 11, 2019 @ 4:00 pm - 5:00 pm

  1. We had Python Quiz about Variables, Data Types, Making Decision, Taking inputs from Shell.
  2. We continued with creating functions in python.
  3. Homework:
    1. Create a function, “hello_world”, with no parameter and inside the function, it will print “Hello World”. Call the function.
    2. Create a function, “Greeting ”, with one parameter, “name”. Inside the function, print to the shell the combination of the word “greeting ” and the name parameter. Call the function like this “greeting(‘Gamas’)” . The result should be “Greeting Gamas” in the shell.
    3. Create a function, “combine_words”, with 3 parameters. Inside the function, print the combination of all three parameters. Call the function like this: “combine_words(‘Hello ‘, ‘Mr. ‘, ‘Gamas.’)” . This will print ‘Hello Mr. Gamas’ to the shell.

Details

Date:
May 11, 2019
Time:
4:00 pm - 5:00 pm
Event Categories:
,