- What is the difference between runtime and compile time exceptions in Python?
- What are regular expressions?
- Explore the Linux commands head, tail, cat, and awk.
- Write a Python program to append the contents of one file to another file.
- Write a Python program to read the contents of a file in reverse order.
- What would be the output of the following expressions?
- re.search(r'C\Wke', 'C@ke').group()
- re.search(r'Co+kie', 'Cooookie').group()
- re.match(r'<.*?>', '<h1>TITLE</h1>').group()
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia