num = input()
def f(a):
add = a + 1
return add
def p(b):
add2 = b + 3
return add2
print(p(f(num)))
So this is my code, what it is supposed to do is take a input into function f(), then add 1, then pass variable add onto function p() which adds 3, then it is supposed to print out the inputed number
Ex: num = 1
Code would print out: 5
Can yall please help me figure out if this is possible and if so, how to do this?