Viva Q Python
Viva Q Python
Practical No. 2
Q.5. How will you check if all characters in a string are alphanumeric?
Q.7. We know Python is all the rage these days. But to be truly accepting of a great
technology, you must know its pitfalls as well. Would you like to talk about this?
Q.8. With Python, how do you find out which directory you are currently in?
Practical No. 3
Practical No 4.
Practical No. 5
Practical No. 6
Practical No. 8
Q.1. How would you work with numbers other than those in the decimal number
system?
Q.2. What does the following code output?
Q.3. How many arguments can the range() function take?
Q.4. What is PEP 8?
Q.5. How is Python different from Java
Q.6. What is the best code you can write to swap two numbers?
Q.7. How can you declare multiple assignments in one statement?
Q.8. If you are ever stuck in an infinite loop, how will you break out of it?
Practical No. 9
Practical No. 10