Ask
your own question, for FREE!
Computer Science
6 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
gelphielvr:
(creative writing) I have to write a short story about an obstacle i over came in my life for my writing class but i have absolutely no idea how to.
SnowyBreaks:
What are some tactics you guys do to stop anxiety attacks when you're presenting,
xXAikoXx:
Decide whether each sentence contains a simile or a metaphor. If it is a metaphor, underline the metaphor in another color, and write "metaphor" after it.
CloverKris:
If I post the lyrics to a song; is that allowed? (With credits, ofc)
Trickjoker:
My ranking of every song on every Nirvana album released before Kurts passing BLEACH This was very difficult to do because I love every song on this album!
Andydegummibear:
why do people make fun of a death of a husband father and loving person charlie k
dontcare:
whats the best place to get a first tattoo at? Its gonna be a skull with pink and
xXAikoXx:
Romanticism had its roots in the individualism of the ________________, the Reformation's reverence to God in his natural state, and The Englightenment's de
8 hours ago
1 Reply
0 Medals
9 hours ago
4 Replies
2 Medals
12 hours ago
5 Replies
1 Medal
17 hours ago
6 Replies
1 Medal
7 hours ago
10 Replies
0 Medals
14 hours ago
77 Replies
11 Medals
1 day ago
9 Replies
0 Medals
14 hours ago
4 Replies
2 Medals