Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use python Assignment: based on http://www.pythonschool.net/ 1) Write a program to input two messages and output them to a user. 2) Write a program

image text in transcribed

please use python

Assignment: based on http://www.pythonschool.net/ 1) Write a program to input two messages and output them to a user. 2) Write a program to input two whole numbers, add them together and print the result to the screen. 3) Write a program to ask the user for a temperature and convert it to both degrees Celsius and degrees Fahrenheit. [F = C*975 +32, C = (F-32)*5/9 ] 4) Write a programming using random to ask a user to guess a number between 0-20. Count the number of tries. DEMO 5) Write a program to simulate the throwing of a die 30 times. The results of the simulation should be printed as a table of scores and frequencies. Hint: use the function randint in the random library to generate a random number between 1 and 6. DEMO 6)Write a program which takes a list of six names and writes them to a file. Check that the file contains the six names on six separate lines

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

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

What is meant by decentralisation of authority ?

Answered: 1 week ago

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

What are the role of supervisors ?

Answered: 1 week ago