Skip to content

pgkm93/Python-Basic-Mathematical-Operation-and-Personalized-Greeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

    ***Tutedude Python basic concept***

This is the first assignment python program by tutedude based on basic's of python.

In the program as informed in the assignment the

Task -1 is Basic Mathematical Operation

1.a.in this program i took two letter as variables and b. i assigned user input to that variable

2.a.Secondly i took "def" keyword , it is used to create a function and followed by function name. b.it's helps to create block of reusable code, c.we can execute the functions several times by calling it's function name. d.followed by def function i created basic Mathematical operation as mention in the program i.e Addition, Subtraction, Multiplication ,Division respectively. 3.finally that code can be executable as image shown in the assignment.

Task - 2

Create a personalized greeting

1.in the second task i tool two variables i.e first_name and last_name 2.i assignment user input to the both variables 3.Result is printed by using f-string. F-strings allow you to embed expressions directly within string literals by placing them inside curly braces {}.

Thank you

About

Python-Basic-Mathematical-Operation-and-Personalized-Greeting

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages