Skip to content

Commit

Permalink
Basic
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjanaPurbia authored Sep 19, 2021
1 parent e70911c commit e027ef6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lenFunc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
print("What's your name?")
name=input()
n=len(name)
print("enter your age:")
age=int(input())
new_age=age+1
print("Hii!! {} lenght of your name is {}".format(name,n))
print("you will be {} in a year".format(new_age))

0 comments on commit e027ef6

Please sign in to comment.