subject

Write the corresponding Python assignment statements: a) Assign 10 to variable length and 20 to variable breadth.
b) Assign the average of values of variables length and breadth to a variable sum.
e) Assign the concatenated value of string variables first, middle and last to variable fullname.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 14:30
The egyptians invented the ? to water their crops, and may have used the ? to build the pyramids.
Answers: 1
question
Computers and Technology, 21.06.2019 18:30
Which number on the image above correctly indicates the name of a folder in this url? a.1b.2c.3d.4
Answers: 2
question
Computers and Technology, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
You know the right answer?
Write the corresponding Python assignment statements: a) Assign 10 to variable length and 20 to var...
Questions
question
History, 13.01.2020 05:31
question
Mathematics, 13.01.2020 05:31
Questions on the website: 13722362