Competition


Every week, there will be a problem posted for you to solve. For each problem:
Each competition lasts one week.
The fist correct solution submitted will be the winner
The winner will be announced at the end of each competition.
The prize is a $10 Amazon Gift Card!
  • Competition - 10/04 - 10/10

    Write a Python program which accepts the user's first and last name and print them in reverse order with a space between them


    Hint:
    Concatenation...

  • Competition - 8/17 - 8/24

    Write a Python program that asks for the user's name via input() function. If the name is "Bond" make it print "Welcome on board 007." Otherwise make it print "Good morning NAME". (Replace NAME with user's name)


    Hint:
    None

  • Competition - 7/14 - 7/21

    Write a Python program to get the volume of a sphere with radius 6.
    A sphere is a three-dimensional solid with no face, no edge, no base and no vertex.
    It is a round body with all points on its surface equidistant from the center.
    The volume of a sphere is measured in cubic units.

    Hint:
    The volume of the sphere is : V = 4/3 × π × r3 = π × d3/6.