fyupanquia / idat001 Goto Github PK
View Code? Open in Web Editor NEWPYTHON EXERCISES
PYTHON EXERCISES
a. Write a program that calculates the salary of a worker as follows. The worker charges a fixed price per hour and is discounted 15% for income tax. The program should ask for the worker's name, hours worked, and the price charged per hour. As output you must print the gross salary, the rent discount and the salary to be paid. b. A student wants to know what his final grade will be in the subject of Computational Logic. This qualification is made up of three partial exams whose weighting is 30%, 30% and 40%. c. You have to calculate the area of โโa rhombus, taking into account that: area = (major_diagonal*minor_diagonal)/2 d. Read a 4-digit number, show the highest and lowest number as a result. e. Make a program that receives a number of minutes and shows on the screen how many hours and minutes correspond. For example: 1000 minutes is 16 hours and 40 minutes f. Two vehicles travel at different speeds (v1 and v2) and are separated by a distance d. The one behind it travels at a higher speed. It is requested to make an algorithm to enter the distance between the two vehicles (km) and their respective speeds (km / h) and with this determine and show in what time (minutes) the vehicle will reach the other faster.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.