Sunday, May 10, 2020
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.
Recommended Articles
- Python
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.May 10, 2020
Input:- n = int(input("Enter the temperature list:")) Temp = [25.2,16.8, 31.4, 23.9, 28, 22.5,19.6] b = [] for i in range (0,n): &nbs...
- Python
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.May 10, 2020
Input:- import re class employee(object): employee_id=0 employee_name="" designation ...
- Python
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.May 10, 2020
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" &...
- Python
Write a python program to print given triangle.May 10, 2020
Input:- n = int(input("Enter the Number of Rows:")) for row in range(n): for col in range(n): &...
Newer Article
Implementation of Caesar ciphar in java
Older Article
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
in
Python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment