Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how do i fix this code so there isnt a space between ^___ PLARNNGEmoji: communicating without words LEARNING Python!^ ^ B Problem program.py number-int(input(Enter a

image text in transcribed

how do i fix this code so there isnt a space between ^___

PLARNNGEmoji: communicating without words LEARNING Python!^ ^ B Problem program.py number-int(input("Enter a number: ")) print("number*_',"A") After starting to learn about Python, you want to express you newfound joy to your friends. Your favourite happy emoticon is the Japanese-style emoticon_ When you finish solving a question, you're super happy and want to express a larger amount of happiness by adding more underscores between the carets: After telling a couple of your friends how happy you are, writing out these emoticons is becoming tiring. programming skills to help you out! You decide to use your new Write a Python program to read in a number that indicates how happy your emoticon should be. For example: Enter a number: 1 Here is another example: Enter a number: 3 Submissions Output #2 Not yet! Failed a test. Hint Remember that you can perform some mathematical operations (addition and multiplication) on strings. Testing an emoticon with three happiness. Your submission did not produce the correct output. Your program output: Enter a number: 3 when it was meant to output: Enter a nunber: 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions