Welcome to Foundation of Data Science Laboratory
Welcome to Foundation of Data Science Laboratory
A.
Without Function
With Function
B. Control Structures
Write a Python program using if-else to determine whether a number is positive, negative, or zero.
Write a Python program using a loop to print the first 10 Fibonacci numbers.
Python Data Structures
o Write a Python program to find the second largest number in a list.
o Write a Python program to merge two tuples into a dictionary.
o Write a Python program to count the frequency of each word in a given string using a dictionary.
o Write a Python program to find the union and intersection of two sets.