# Take the inputs of list from user and insert it into another list

# numbers=[]
# number_of_elements=int(input("Enter the number of elements:"))

# for index in range(0,number_of_elements):
#     elements=int(input())
#     numbers.append(elements)

# print("The numbers are:",numbers)

# --------------------------------------------------------------------------------------------------------------------------------------

# Take the string from user and count how many words it consists

# user_input=input("Enter a string:")

# # counting number of characters

# characters=len(user_input)
# print(f'User has entered {characters} number of characters')

# # counting number of words

# print(user_input)

# # storing all the words in the variable
# words=user_input.split(" ")
# print(f'Words are: {words} ')
# print(len(words))

# ---------------------------------------------------------------------------------------------------------------------------------------

# conversion of list into string

# user_input=int(input("Enter the number of elements : "))
# numbers=[]

# for index in range(0,user_input):
#     element=input()
#     numbers.append(element)

# print(f'Elements in the list are: {numbers}')

# empty_string=""

# for number in numbers:
#     empty_string=empty_string + number

# print(f'The string is: {empty_string}')

# -----------------------------------------------------------------------------------------------------------------------------------------

# conversion of string into list

# name=input("Enter your name:")
# words=name.split(" ")
# print(f'The letters are: {words}')

# --------------------------------------------------------------------------------------------------------------------------------------

# Indexing
# string="Python"

# ----------------------------------------------------------------------------------------------------------------------------------------

# printing numbers using for and while

# for loop
# numbers=int(input("Enter the range till which you want:"))

# for number in range(0,numbers + 1):
#     print(f'the numbers are: {number}')

# while loop
# number=1000
# while(number>=numbers):
#     print(f'The numbers are: {number}')
#     number=number - 1

# ------------------------------------------------------------------------------------------------------------------------------------------











