Ask
your own question, for FREE!
Computer Science
8 Online
For this exercise, I need to define and call the function printBusinessCard(). When called, this function should print out my name, job title (anything really), email address, and a tagline! ((I couldn't gind a 'Coding' subject for this..))
Still Need Help?
Join the QuestionCove community and study together with friends!
Yeah, coding goes under the "Computer Science" subject. Lemme see if I can solve your dillemma...
@aratox wrote:
Yeah, coding goes under the "Computer Science" subject. Lemme see if I can solve your dillemma...
``` def printBusinessCard(): name = "your_name" job_title = "jobtitle" email = "email@example.com" tagline = "tagline" print("
") print(f"Name: {name}") print(f"Job Title: {job_title}") print(f"Email: {email}") print(f"Tagline: {tagline}") print("
") # Business card function call printBusinessCard() ```
You ARE using Python, correct?
no.. its javascript
Still Need Help?
Join the QuestionCove community and study together with friends!
@curriful wrote:
no.. its javascript
@aratox wrote:
@curriful wrote:
no.. its javascript
``` function printBusinessCard() { let name = "yourname"; let jobTitle = "jobtitle"; let email = "email@example.com"; let tagline = "tagline"; console.log("
"); console.log("Name: " + name); console.log("Job Title: " + jobTitle); console.log("Email: " + email); console.log("Tagline: " + tagline); console.log("
"); } // Business card call function printBusinessCard(); ```
Thanks!
@curriful wrote:
Thanks!
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Countless7Echos:
I don't know just no sketch doodle day :p finished a video already so I'm pretty
Ferrari:
Depression Hi, it's me, Jordan (ferrari). It's supposed to be the Fourth of July but I feel kinda depressed and mad at myself for no reason.
Countless7Echos:
mmm I forgot to post but hey first time trying out hyperpop art :3 super fun TW:
RAVEN69:
The hole You can't fix the hole in my heart. It's permanent. It's been broken to many times and I love it every time.
6 hours ago
9 Replies
2 Medals
8 hours ago
12 Replies
1 Medal
1 day ago
9 Replies
5 Medals
2 days ago
0 Replies
0 Medals