subject

Maximum = 0 for i in range (10):
n = int(input("Enter a number: "))
if (n >= 0 and n > maximum):
maximum = n
print(maximum)

How many variables are in the program?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 22.06.2019 20:10
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
Maximum = 0 for i in range (10):
n = int(input("Enter a number: "))
if (n >= 0 and n...
Questions
question
Mathematics, 03.04.2020 00:14
question
Mathematics, 03.04.2020 00:15
question
Mathematics, 03.04.2020 00:15
question
Mathematics, 03.04.2020 00:15
question
Mathematics, 03.04.2020 00:15
question
Mathematics, 03.04.2020 00:15
question
Mathematics, 03.04.2020 00:15
Questions on the website: 13722363