Top answers


What is the difference between a list and an array?

Lists are part of Python's syntax and hence do not need to be declared. However, performing functions such as dividing every entry in the collection by an integer by simply writing xs/2 is not possible with ...
LW
Answered by Liora W. • Python tutor
1952 Views

What makes a good personal statement?

A good personal statement is one which explains clearly why you want to study your chosen subject. It should explore some of the topics within the subject that you find most interesting or that you want to f...
SG
2462 Views

Explain the difference between local and global variables

The difference is the scope. A local variable can only be seen within its scope, for example a variable defined in a method can only be seen within this method. However, a global variable can be seen by ever...
PC
Answered by Peter C. • Python tutor
1536 Views

Write a simple Python program that asks a user to input their age and name and then return the text: "Hi my name is *NAME*, and I am *AGE* years old."

Use the follow to create a simple age + name Python program: 1) age = input("Enter age: ") 2) name = input("Enter name: ") 3) print("Hi, my name is " + name + ", and I am &...
CB
159456 Views

If you were not offered a place to study Medicine, what would you do?

Saying that you would re apply next year and in the meantime volunteer in a related field or try and get a job shows that you are committed Stressing that you would remain committed to the pathway despite a ...
AH
2206 Views