Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Assignment #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions week_1/First Assignment
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Assignment Question 1

enter_name=input("Please Enter you Name")
j = 0#len(enter_name)
for i in enter_name:
#print(" "*j)
print(" "*j,i,sep='')
j = j + 1


Assignment Question 2

import time as tm

song = "Najaane kab se Umeedain kuch baqi hain, Mujhe phir bhi teri yaad, Kyun ati hai? , Najaane kab se, Durr jitna bhi tum mujhse, Paas tere main, Ab tau addat si hai mujhko aise jeene main, Zindagi se koi shiwva bhi nahi hai, Ab tau zinda hun main iss neele asmaan main, Chaahat aisi hai yeh teri, Barhti jaye, Aahat aise hai yeh teri mujhko sataye"
song_lines = song.split(',')
for i in range(len(song_lines)):
print(song_lines[i])
tm.sleep(1)