From e027ef6dbf30cf165009db27ccfbe55003b2a1be Mon Sep 17 00:00:00 2001 From: Sanjana Purbia <71418488+SanjanaPurbia@users.noreply.github.com> Date: Sun, 19 Sep 2021 17:13:06 +0530 Subject: [PATCH] Basic --- lenFunc.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lenFunc.py diff --git a/lenFunc.py b/lenFunc.py new file mode 100644 index 0000000..fb146a5 --- /dev/null +++ b/lenFunc.py @@ -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)) \ No newline at end of file