Day 8 of #100DaysofCode
- πLearnt about function parameters and arguments
- Function Parameter is the placeholder value you give to your function when creating the function
E.g def add(a,b):
return a+b
a and b in the function definition is the function parameter.
- Function argument is the actual value you pass to the function when calling it.
Using the same example above
def add(a,b):
return a + b
print(add(2, 3))
2 and 3 becomes the function argument.
- if your guess is wrong, you loss a life and when the number of wrongs is equal to the length of word then you hang yourself ππ
- when a guess is correct you move on to guess the next letter
- it was so interesting and fun.
Day 7 of #100DaysofCode
So Day 7 was a project day where I used all the knowledge Iβve learned so far to complete a project.
The name of the project is Hangman.
- where a word was selected randomly and you will guess the letters of the word.
#100DaysOfCode#fff#Python
- with while loop is easily to fall into infinit loop when there is no checks to make the condition false.
- indentation is so important in Python in such a way that if there is no proper indentation you might get some errors.
Day 6 of #100DaysofCode
- π learnt about function, while loop and indentation
- We use the def keyword to for function definition before the name of the function.
- while loop runs as far as a condition is true and it only ends when the condition becomes false.
#python
Day 5 of #100DaysofCode
- π I learnt about Loops in python.
Where you can use the for in loop to loop over List and strings.
- π I complete a Password generator project and a FizzBuzz project using for loop
#pythonprogramming#developers#programmer
π’ As a JavaScript dev I notice Python List is Similar or in a way equal to Arrays in JS.
- Python list also have it own methods like: append, pop, remove, insert, extend, count, sort etc
- I also worked a Rock , Paper , Scissors project which was very fun and educative
Day 4 of #100DaysofCode
π I learnt about randomization and Python List
π With randomization I learnt about how to import the random module in python so you can generate random values
You can you random.randint(0, 5) to generate integers from 0 - 5 inclusively and so on
Also learnt about the comparison operators
Which includes
- greater than β>β
- less than β<β
- greater than or equal to β>=β
- less than or equal to β<=β
- equall to β==β
- not equal to β!=β
Day 2 and 3 of #100DaysofCode
πOn day 2:
I learnt about some basic data types in python which is not limited to
- string
- integer
- Float
- Boolean
I also learn how to manipulate or convert one data type to the other.
#python#developer#programmer#softwaredeveloper
- on logical operators, I learnt about the βandβ and βorβ operator
- The βandβ operator is True when both operands result to True otherwise itβs False.
- The βorβ operator is True when one operand is either True. It is only False when both operands are False.
@AmaliTech_gGmbh @AmaliTech_gGmbh a lot of people who applied from last week Monday have not received the coding assessment link meanwhile their application has moved from New to In Review.
Kindly look into it