Question

-Explain what is different between attempting to read in a string typed by the user and...

-Explain what is different between attempting to read in a string typed by the user and obtaining a character typed by the user

-Explain how to obtain and store a numeric value from a string object which stores a value typed by the user

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.Explain what is different between attempting to read in a string typed by the user and obtaining a character typed by the user

Ans :

I. A string typed by the user is nothing but a set of character accepted by user

Example for String is :

StrExample="Hi Hello how are you welcome to India"

The above variable StrExample which we can define in a Python , these are the collection of Characters

II .Obtaining a character typed by the user :-

Is nothing but single character defined for the variable or accepted by the user input

CharExample='A'

The above CharExample is variable here we have assigned single character

Add a comment
Know the answer?
Add Answer to:
-Explain what is different between attempting to read in a string typed by the user and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT