Informatics Practices
Write a code that prints your full name and your birthday as separate strings.
Getting Started
3 Likes
Answer
full_name = "Jeevika Sharma"
birthday = "January 17, 2000"
print("Full Name:", full_name)
print("Birthday:", birthday)
Output
Full Name: Jeevika Sharma
Birthday: January 17, 2000
Answered By
1 Like
Related Questions
Write the output of the following:
num1 = 4 num2 = num1 + 1 num1 = 2 print(num1, num2)
Consider the statements given below and write Python command to display these statements in both Interactive and Script mode.
Python is easy to learn and write.
It allows us to work in two modes: Interactive mode and Script mode.
Interactive mode is also known as Python Shell and Script mode is also known as Python Editor.
It is a platform-independent language.
We find it interesting to work with Python.Record what happens when the following statements are executed:
(a) print (n = 17)
(b) print (8+9)
(c) print (4.2, "hello", 6-2, "world", 15/2.0)
Use IDLE to calculate:
(a) 6+4*10
(b) (6+4) *10