Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
14 lines (10 loc) · 499 Bytes

File metadata and controls

14 lines (10 loc) · 499 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#Take inpur form user name and addree
#and print "Hello , <user name>, your address is <address>"
#.format() of string to acheive this task
name = input("Please enter your name:")
add = input("Please input your address: ")
myoutput = "Hello, your name is {0}, and your address is {1}, {2}, agin my address is {1} and my name is {0}"#.format(name,add)
myoutput_new = myoutput.format(name,add," some random stuff ")
print(myoutput)
print(myoutput_new)
print("Value od pi: {0:0.5}".format(2200/7))
Morty Proxy This is a proxified and sanitized view of the page, visit original site.