Type the statements below into your Python interpreter. For each statement, copy the output into your Discussion Assignment and explain the output. Compare it with any similar examples in the textbook, and describe what it means about your version of Python.
>>> print 'Hello, World!'
>>> 1/2
>>> type(1/2)
>>> print(01)
>>> 1/(2/3)
1. Write a program that displays product of all odd numbers from 1 to 10 using for loop1. Write a program that displays product of all odd numbers from 1 to 10 using for loop
Let us consider the two concurrent transaction A and B which is accessing the data at the same time. At the point T, the conflict has occurred between the two concurrent transactions. By considering this scenario as example, explain-
a. Write Read conflict
b. Read Write conflict
c. Lost update problem (WW)
write a program to solve the following equation a*b(-c*31%13)*d