Kevin Tiller

Generation

generate functionSat, 22 Apr 2023

Write a program to create a function called show_employee() . It should accept the employee’s name and salary as user input and display both. Use Ben 12000 as your test data

def show_employee(): name = input("Enter the employee’s name : ") salary = int(input("Enter the employee’s salary : ")) print(f"The employee’s {name} and salary {salary}") show_employee()

Want to kickstart your project?Use the new AI Studio to create your code