Ask
your own question, for FREE!
Computer Science
7 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
EdwinJsHispanic:
I hate this friendship and you, Not the "I don't like you" kinda way. Instead the "I trusted you" way, The "I needed you way".
lovelove1700:
I am speak seven lenguajes Spanish, English, Russian, Armenian, Bengali, Italian,
zanesafoodie:
I finally got around to writing this, hope you guys enjoy! Poisoned chocolates Thank you for the heartbreak Those same pieces are on the floor They taste li
lovelove1700:
Learning Goal: To explore how the human body is able to maintain stability while adjusting to changing external conditions The Phenomenon Anna Bu00e5genholm
Breathless:
Take me back, back home the way isn't far, Take me home past the crossroads, five
Twaylor:
Any ideas on how to cram this even more? (Minecraft Version 1.21.5 Java) It's just a spike setup Summon: /summon arrow ~.
lovelove1700:
What is this app used for? I'm new here and I don't understand what it's for.
suger:
can some one check this for me? sin(0)= opp/hypo sin(2)= xy/xz=12/15 sin(z)=12 di
3 hours ago
3 Replies
0 Medals
8 hours ago
4 Replies
0 Medals
13 hours ago
0 Replies
0 Medals
13 hours ago
3 Replies
0 Medals
13 hours ago
6 Replies
0 Medals
14 hours ago
0 Replies
0 Medals
14 hours ago
6 Replies
0 Medals
1 day ago
5 Replies
1 Medal