<jupyter_start><jupyter_text>Assignment 1  Name : <NAME> ID : PY04233 Date : 04/11/2019 Subject : Python Online  Q1 - Python Program to print string in a specific format<jupyter_code>print("Twinkle, twinkle, little star\n\tHow i wonder what you are !\n\t\tUp above the world so high,\n\t\tLike a diamond in the sky.\nTwinkle, twinkle, little star, \n\tHow I wonder what you are ")<jupyter_output>Twinkle, twinkle, little star
	How i wonder what you are !
		Up above the world so high,
		Like a diamond in the sky.
Twinkle, twinkle, little star, 
	How I wonder what you are<jupyter_text>Q2 - Python program to get the Python version<jupyter_code>import sys
print("The Current Python Version :")
print(sys.version)<jupyter_output>The Current Python Version :
3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]<jupyter_text>Q3 - Python program to display the current date and time<jupyter_code>import datetime as dt

print("The Current Date and Time is :")
time = dt.datetime.now()
print(time.strftime("%Y-%m-%d %H:%M:%S"))<jupyter_output>The Current Date and Time is :
2019-11-04 23:39:27<jupyter_text>Q4 -  Python program which accepts the radius of a circle from the user and compute the area.<jupyter_code>pi = 3.14
radius = float(input("Enter radius of circle : "))
print(f"The Area Of circle is {pi*radius**2}")<jupyter_output>Enter radius of circle : 3
The Area Of circle is 28.26<jupyter_text>Q5 - Python program which accepts the user's first and last name and print them in reverse order with a space between them<jupyter_code>first_name = input("Enter First Name : ")
last_name = input("Enter Last name  : ")
space = " "
string = first_name + space + last_name
result = ""
for i in string:
    result = i + result
result<jupyter_output>Enter First Name : sha
Enter Last name  : hai<jupyter_text>Q6 -  python program which takes two inputs from user and print them addition<jupyter_code>num1 = int(input("Enter First Number : "))
num2 = int(input("Enter Second Number : "))
print(f"Sum of Numbers is : {num1 + num2}")<jupyter_output>Enter First Number : 5
Enter Second Number : 8
Sum of Numbers is : 13
{'fraction_non_alphanumeric': 0.10023529411764706, 'fraction_numerical': 0.034823529411764705, 'mean_word_length': 4.84065934065934, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '377977', 'license': 'Unlicense', 'n_tokens_mistral': 749, 'n_tokens_neox': 697, 'n_words': 261, 'path': 'Assignments/Certified Python By Saylani/Python Assignment 1 - 04-11-2019.ipynb', 'repo_name': 'shkhaider2015/PIAIC-QUARTER-2', 'size': '2133'}