Professional Documents
Culture Documents
Computer Project - 2080
Computer Project - 2080
Swoyambhu, Kathmandu
Project Work On
Python
Submitted By :- Submitted To:-
Name: Miss Leeza Maharjan
Class : 8 “Manaslu” Computer Teacher
Roll no. :
Qn.1: Write A Program to print a string given below:
Hello, I am a student . I study in grade 8 Manaslu . I study in
Samriddhi School. I live in Kathmandu with my family. I live in
Nepal.
Output:
Hello, I am a student . I study in
grade 8 Manaslu . I study in Samriddhi
School. I live in Kathmandu with my
family.
z==“b”
if z==“a”:
print(“It is a vowel”)
elif z==“e”:
print(“It is a vowel”)
elif z==“i”:
print(“It is a vowel”)
elif z==“o”:
print(“It is a vowel”)
elif z==“u”:
print(“It is a vowel”)
else :
print(“It is a consonant”)
Output:
It is a consonant
Output:
Please enter valid house price
a==5
b==3
if a<b:
print (“a is less than b”)
if a==b:
print (“a is equal to b”)
else :
print (“a is greater than b”)
Output:
a is greater than b
Output:
‘Spring rolls’