Python, R Programming Language

Define a main() function, a doTestOne() function, a doTestTwo() function and

a doTestThree() function.

The main() function should call doTestOne(), doTestTwo() and doTestThree()

In doTestOne(),

1) Prompt the user for a number (e.g., "Please enter an integer.")

2) Using input() retrieve the number entered and store it in a variable called "userInput"

3) Convert the number from text to an integer

4) Determine whether or not the number is an even number by using the modulo operator.

Hint: The expression x % 2 == 0 (modulo operator) evaluates to True when the

remainder of x divided by 2 is 0.

5) If the number is even, print "Number entered is even" If the number is odd, print

"Number entered is odd"

In doTestTwo(),

6) Create two variables called 'hungry' and 'thirsty'

7) Set 'hungry' and 'thirsty' to either True or False (it doesn't matter which).

8) Write code that tests 'hungry' and 'thirsty' for all possible combinations

of True and False. There are four possibilities. For example, hungry and

thirsty can both be True, or both be False or one True and the other False.

9) Print the appropriate statement saying whether the user is hungry and/or thirsty

based on conditions using 'if' and 'elif'

In doTestThree(),

10) Prompt the user for a number. (For example, "Please enter an integer.")

11) Using input() retrieve the number entered by the user and store it in a variable called: "userInput"

12) Convert the number to an integer.

13) Using if and else statements, determine if the number entered is:

Divisible by 2 and 3.

Divisible by 2 and not 3.

Divisible by 3 and not 2.

14) Print the appropriate outcome as shown above.

Don't forget to execute the main function as your last line in the program.

Add appropriate comments to the program and describe what each function does above the

functions in comments.

Skills: Java, Perl, Python, R Programming Language, Ruby

See more: advantages of python over r, r vs python 2017, using python and r, r vs python quora, r vs python for machine learning, r vs python 2018, python vs r visualization, r vs python reddit, r programming language, r-programming language, python programming language official website, is python a programming language, programming language python, python programming language , what is python programming language, define programming language, freelancer r programming language, how to write a programming language, how to write your own programming language, learning python programming language

About the Employer:
( 0 reviews ) Austin, United States

Project ID: #17871628

25 freelancers are bidding on average $28 for this job


I can easily and quickly do this.

$30 USD in 1 day
(281 Reviews)

Hi There I've excellent programming and development skills and knowledge. I can provide an efficient, perfect, well documented development of your Programming and Computer project according to 100% accuracy and re More

$30 USD in 1 day
(289 Reviews)

I have a good hands on working with Advanced R and Python and BI tools and technologies, AI, Big Data. I have quite a good knowledge of DL/ML Algorithm , have also developed Dashboards and Web Applications using flask/ More

$100 USD in 1 day
(72 Reviews)

Hello! This is Vibrant Webtech and I was glad to see that you're looking for help for project Python, R Programming Language. I've delivered more than 400 + projects in the last 5 years and this makes me very conf More

$100 USD in 2 days
(44 Reviews)

Hello, my name is Rastko, I am an experienced Python programmer. You may check my work history. Kind regards, Rastko

$30 USD in 1 day
(40 Reviews)

I'm a experienced Data Scientist ready to do your work in an efficient way with strong analytical and logical reasoning skills with insatiable interest in Data Science and Big Data Analytics. Data analysis- Data M More

$50 USD in 1 day
(10 Reviews)

Hi, my name is Raul and I am a computer engineer from Brazil. I have experience with python coding. I can show you some examples.

$15 USD in 1 day
(4 Reviews)

I have a lot of experience with python and i would be very interested on implementing your task. If you are interested too contact with me.

$10 USD in 1 day
(8 Reviews)
$30 USD in 1 day
(4 Reviews)

I am a software engr and experinced programmer I have seen the details of your task and I will make this main() function for you as you described pl contact for details

$25 USD in 1 day
(1 Review)

The three functions can be done in Python. Please let me know if it is to be carried out. Thanks

$20 USD in 2 days
(1 Review)

Good day, I am an I.T guy and i'm working in python and java for last 5 years. Thanks Relevant Skills and Experience Working in python and java for almost 5 years in an M.N.C

$15 USD in 1 day
(0 Reviews)

I have already written both, the program based on the description and the program based on the attached word document. Ready to send them as soon as I'm elected. You only need to edit your personal information in as More

$10 USD in 0 days
(0 Reviews)

I have already build you project, the project in description and the project in docx file, just tell me which file you want. I hope you select me. Bye.

$25 USD in 0 days
(0 Reviews)

I use python daily for automated software tests. I can give you an elegant solution with an hour or so. Relevant Skills and Experience Daily use of python, software architecture and design experience

$35 USD in 1 day
(0 Reviews)

Hello, I am a second year student in Computer Science in Ireland. I would be able to this project in a day. My code would be the most simplest and effective, as well as comprehensive, since I have done this many tim More

$35 USD in 1 day
(0 Reviews)

Hello I'm an advanced Python programmer and have worked on several projects like yours. Rest assured you will have your assignment in less than a day!

$10 USD in 1 day
(0 Reviews)

Experienced Python Developer Here. Check out my profile at [login to view URL] . Looking forward to a chat~

$30 USD in 2 days
(0 Reviews)

Dear Sir, I bid low on this project as I am new to freelancer, and am trying to build reputation. This problem is easy to do. Message me if you are interested. Cheers, Nicholas Hamilton, PhD.

$15 USD in 1 day
(0 Reviews)

I am an expert in Python. I can do your task easily. Contact me if you'd like to hire me. Thanks.

$15 USD in 1 day
(0 Reviews)