Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in python please Write a program that : 1- Gets two users to input their names. 2- Calculates the number of characters in each name

in python please
image text in transcribed
Write a program that : 1- Gets two users to input their names. 2- Calculates the number of characters in each name and add them together. 3- Calculates the modulus of the total characters in both names divided by 3 . 4- If the modulus is 0, output a message saying : "You Have a Big Chance to be Friends". 5- If the modulus is 1 , output a message saying : "You Might Have a Chance to be Friends" . 6- If the modulus is 2 , output a message saying : "You Don't Have a Chance to be Friends

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

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

Additional Factors Affecting Group Communication?

Answered: 1 week ago