Day 3: functions with inputs

Hi there! I’m a passionate learner who loves exploring Python's endless possibilities. Over the past years, I’ve immersed myself in coding, honing my skills by tackling diverse projects that combine creativity and problem-solving.
From building a modern rendition of the classic Asteroids game in Python to experimenting with data visualization and automation, I thrive on turning ideas into reality through code.
Follow along as I learn, grow, and share my journey!
Today, I practiced functions with inputs and learned the difference between
- Parameters
def greet(a,b,c): # a, b, and c are the parameters
print(a)
print(b)
print(c)
- Positional Arguments
greet(1,2,3) # 1, 2, and 3 are the arguments - the values (positional arguments)
and
- Keyword Arguments
greet(c=4,b=5,a=6) # the function being invoked with keyword arguments
Tomorrow, I'll use this skill to work on an implementation of the Caesar Cipher.
Follow me on Twitter at AllieNicole903




