Author: Saravana Kumar

  • Python Question and Answers  – Part 2

    Python Question and Answers – Part 2

    Python Lists – Quiz

    1. How do you create a list in Python?

    • A. {}
    • B. []
    • C. ()
    • D. <>

    2. What is the first index of a Python list?

    • A. 0
    • B. 1
    • C. -1
    • D. None

    3. Which method adds an item to the end of a list?

    • A. add()
    • B. insert()
    • C. append()
    • D. extend()

    4. How would you access the last item in a list?

    • A. list[0]
    • B. list[-1]
    • C. list[1]
    • D. list[2]

    5. What does fruits[1:3] return for fruits = [“apple”, “banana”, “cherry”, “date”]?

    • A. [“apple”, “banana”]
    • B. [“banana”, “cherry”]
    • C. [“cherry”, “date”]
    • D. [“banana”]

    6. Which method removes an item by its index?

    • A. delete()
    • B. discard()
    • C. remove()
    • D. pop()

    7. What does list.reverse() do?

    • A. Sorts the list
    • B. Adds items to the list
    • C. Reverses order
    • D. Removes the last item

    8. How do you delete an item by its value?

    • A. list.pop()
    • B. list.remove()
    • C. list.del()
    • D. list.pop(value)

    9. What does fruits.sort() do for fruits = [“cherry”, “apple”, “banana”]?

    • A. Arranges alphabetically
    • B. Reverses the list
    • C. Does nothing
    • D. Adds “apple”

    10. How would you add “pear” at the start of a fruits list?

    • A. fruits[0] = “pear”
    • B. fruits.append(“pear”)
    • C. fruits.insert(0, “pear”)
    • D. fruits.push(“pear”)

    Python Dictionaries – Quiz

    1. How do you create a dictionary in Python?

    • A. {}
    • B. []
    • C. ()
    • D. <>

    2. What data structure is a collection of key-value pairs?

    • A. List
    • B. Set
    • C. Tuple
    • D. Dictionary

    3. How would you access the value of “name” in person[“name”]?

    • A. person.name
    • B. person{“name”}
    • C. person[“name”]
    • D. person{[“name”]}

    4. How do you add a new key-value pair to a dictionary?

    • A. add()
    • B. update()
    • C. append()
    • D. dictionary[key] = value

    5. Which method removes a key-value pair and returns the value?

    • A. pop()
    • B. remove()
    • C. delete()
    • D. discard()

    6. What happens if you access a key that doesn’t exist?

    • A. Error
    • B. Returns None
    • C. Adds key with None
    • D. Creates empty dictionary

    7. How do you loop through all keys and values?

    • A. .items()
    • B. .pairs()
    • C. .all()
    • D. .keys()

    8. Which method returns only the values in a dictionary?

    • A. keys()
    • B. items()
    • C. values()
    • D. pairs()

    9. How do you delete a key-value pair by key?

    • A. del
    • B. remove()
    • C. delete()
    • D. discard()

    10. Which is a valid dictionary?

    • A. {“a”, “b”, “c”}
    • B. {1, 2, 3}
    • C. {“key”: value}
    • D. [“key”: “value”]

    Python Tuples – Quiz

    Question 1: What is a tuple in Python?

    • A. A mutable collection
    • B. An immutable collection
    • C. A method
    • D. A variable type

    Question 2: How do you create a tuple in Python?

    • A. []
    • B. {}
    • C. ()
    • D. <>

    Question 3: What is the main difference between a list and a tuple?

    • A. Tuples can be changed, lists cannot
    • B. Tuples are immutable, lists are mutable
    • C. Lists store strings only, tuples store integers only
    • D. Tuples are slower than lists

    Question 4: Which of the following is a valid tuple?

    • A. [1, 2, 3]
    • B. {1, 2, 3}
    • C. (1, 2, 3)
    • D. tuple[1, 2, 3]

    Question 5: What will be the output of the following code?

    t = (1, 2, 3)
    print(t[1])
            
    • A. 1
    • B. 2
    • C. 3
    • D. Error

    Question 6: How do you find the length of a tuple in Python?

    • A. size(t)
    • B. len(t)
    • C. length(t)
    • D. count(t)

    Question 7: What does the following code do?

    t = (1, 2, 3)
    t[1] = 5
            
    • A. Updates the tuple
    • B. Throws an error
    • C. Creates a new tuple
    • D. Deletes the tuple

    Question 8: Which method is used to count occurrences of an element in a tuple?

    • A. index()
    • B. find()
    • C. count()
    • D. occurrences()

    Question 9: What will t = (1, 2, 3, 2); print(t.count(2)) return?

    • A. 0
    • B. 1
    • C. 2
    • D. Error

    Question 10: Which method is used to find the index of an element in a tuple?

    • A. locate()
    • B. find()
    • C. position()
    • D. index()

    Python Functions – Quiz

    Question 1: What is a function in Python?

    • A. A type of loop
    • B. A block of code that performs a specific task
    • C. A variable declaration
    • D. A type of data structure

    Question 2: Which keyword is used to define a function in Python?

    • A. func
    • B. define
    • C. def
    • D. function

    Question 3: What will the following code output?

    def add(a, b):  
        return a + b  
    
    print(add(2, 3))
            
    • A. 23
    • B. 5
    • C. 6
    • D. Error

    Question 4: What does a function without a return statement return?

    • A. None
    • B. 0
    • C. False
    • D. Error

    Question 5: What is a parameter in Python?

    • A. The name of the function
    • B. The output of the function
    • C. Input to the function
    • D. A type of variable

    Question 6: Which of the following is NOT a valid function name?

    • A. calculateSum
    • B. 1stFunction
    • C. my_function
    • D. _helper

    Question 7: What is the correct way to call the following function?

    def greet(name):  
        print(f"Hello, {name}!")  
            
    • A. greet()
    • B. greet(“John”)
    • C. print(greet(“John”))
    • D. Hello(name)

    Question 8: What does the return keyword do in a function?

    • A. Stops the function execution
    • B. Specifies what value a function gives back
    • C. Defines a parameter
    • D. None of the above

    Question 9: How can you pass multiple arguments to a function?

    • A. Using a list
    • B. Using multiple variables separated by commas
    • C. Using a string
    • D. Only one argument can be passed

    Question 10: Which of these is an example of a function with default parameters?

    def greet(name="User"):  
        print(f"Hello, {name}")  
    
    greet()  
            
    • A. def greet(name=”User”): print(f”Hello, {name}”) greet()
    • B. def greet(): print(“Hello, User”) greet()
    • C. def greet(name): print(f”Hello, {name}”) greet(“User”)
    • D. def greet(): return “Hello, User”
  • Learn Python – Question and Answers

    Learn Python – Question and Answers

    Python Basics: Variables & Data Types – Q&A Session

    1. What is a variable in Python?

    • A. A storage container for data
    • B. A type of loop
    • C. A function for printing text
    • D. A command to stop a program

    2. Which of the following is a valid variable name in Python?

    • A. 1name
    • B. name_1
    • C. name-1
    • D. name!

    3. What is the correct way to declare a string variable?

    • A. name = “John”
    • B. name = John
    • C. “name” = John
    • D. String name = “John”

    4. In Python, which data type is used to represent decimal numbers?

    • A. int
    • B. str
    • C. float
    • D. bool

    5. Which function is used to check the data type of a variable in Python?

    • A. data()
    • B. typeof()
    • C. type()
    • D. datatype()

    6. What will be the output of the following code?

    name = "Alice"
    print(type(name))
    • A. <class ‘str’>
    • B. <class ‘int’>
    • C. name
    • D. Alice

    7. Which of these is NOT a data type in Python?

    • A. str
    • B. int
    • C. list
    • D. decimal

    8. What value will the following code output?

    age = 30
    age = "thirty"
    print(age)
    • A. 30
    • B. “thirty”
    • C. SyntaxError
    • D. None

    9. Which data type represents True and False values in Python?

    • A. int
    • B. str
    • C. bool
    • D. float

    10. In Python, which symbol is used to assign a value to a variable?

    • A. ==
    • B. =
    • C. :
    • D. ->

    Python Basics: Conditional Statements – Q&A Session

    Question 1: Which statement is used to check a condition in Python?

    • A. else
    • B. elif
    • C. if
    • D. then

    Question 2: What will the following code print if x = 10?

    if x > 5:  
        print("High")  
    else:  
        print("Low")
            
    • A. “High”
    • B. “Low”
    • C. “None”
    • D. Error

    Question 3: In Python, what does elif stand for?

    • A. Else if
    • B. Eliminate if
    • C. Exit if
    • D. Error

    Question 4: Which operator checks if two conditions are both true?

    • A. or
    • B. and
    • C. not
    • D. ==

    Question 5: What is the output of this code?

    if 5 < 10 or 8 > 10:  
        print("Yes")
            
    • A. No
    • B. None
    • C. Yes
    • D. Error

    Question 6: What is required in the if statement to compare values?

    • A. =
    • B. ==
    • C. ===
    • D. equals

    Question 7: Which condition is met in this code?

    if 20 > 25:  
        print("A")  
    elif 20 == 20:  
        print("B")  
    else:  
        print("C")
            
    • A. A
    • B. B
    • C. C
    • D. None

    Question 8: How many possible conditions can elif handle?

    • A. One
    • B. Two
    • C. Infinite
    • D. None

    Question 9: Which logical operator reverses a condition?

    • A. or
    • B. not
    • C. and
    • D. reverses

    Question 10: What is a common mistake when using conditionals?

    • A. Forgetting else
    • B. Using == for assignment
    • C. Using = instead of ==
    • D. Indentation

    Python Basics: Loops – Q&A Session

    Question 1: Which loop runs as long as its condition is true?

    • A. for
    • B. while
    • C. repeat
    • D. loop

    Question 2: What function generates a sequence of numbers in Python?

    • A. sequence()
    • B. list()
    • C. range()
    • D. num()

    Question 3: What will for i in range(3): print("Hi") print?

    • A. Hi three times
    • B. Hi four times
    • C. Hi two times
    • D. None

    Question 4: How can we stop a loop early?

    • A. continue
    • B. stop
    • C. exit
    • D. break

    Question 5: What does the continue statement do in a loop?

    • A. Skips the rest of the loop
    • B. Skips to the next iteration
    • C. Stops the loop
    • D. Repeats the loop

    Question 6: What is printed by

    for i in range(5): 
        if i == 3: 
         break print(i)
    

    • A. 0, 1, 2
    • B. 0, 1, 2, 3
    • C. 0, 1
    • D. None

    Question 7: Which loop would you use to repeat code until a condition changes?

    • A. for
    • B. while
    • C. until
    • D. loop

    Question 8: When is the else block in a loop executed?

    • A. Always
    • B. Only if break is used
    • C. Only if continue is used
    • D. When loop completes normally

    Question 9: What is the result of while False: print("Hello")?

    • A. Prints “Hello”
    • B. Error
    • C. No output
    • D. Prints infinitely

    Question 10: Which of these is not a loop in Python?

    • A. for
    • B. while
    • C. loop
    • D. Both B and C

    Visit the Google Form Link:
    Click on the link to access the quiz form. You will be redirected to a Google Forms page where you can start answering the questions.

    Answer the Questions:
    Go through each question carefully and select or type your answers based on the options provided.

    Click ‘Submit’:
    Once you’ve answered all the questions, scroll down and click the “Submit” button to submit your answers.

    View Your Score:
    After submitting, click on the “View Score” button to see your results immediately. You will receive feedback on your performance.

    Variables & Data Typeshttps://forms.gle/22qQ2UkhGKUvW4XE6
    How to use Conditional Statements if ,elif, elsehttps://forms.gle/7VjTGRVoYpNRKyLS8
    For and While Loops https://forms.gle/nj9f5eEE3yhA8sNs9
    List Creationhttps://forms.gle/ccy1hmAx1fYH294B9
    Dictionarieshttps://forms.gle/azRDkfEcPtQEhDqm6
    Tupleshttps://forms.gle/7zuHYNJmVFnET6QZA
  • 100 Tamil Phrases for Kids to Improve Reading Skills

    100 Tamil Phrases for Kids to Improve Reading Skills

    1. வணக்கம். (Vanakkam) – Greetings.
    2. நீங்கள் எப்படி இருக்கிறீர்கள்? (Neengal eppadi irukkireergal?) – How are you?
    3. நான் நலமாக இருக்கிறேன். (Naan nalamaga irukkiren) – I am fine.
    4. உனது பெயர் என்ன? (Unathu peyar enna?) – What is your name?
    5. என் பெயர் சரவணன். (En peyar Saravanan) – My name is Saravanan.
    6. இது என்ன? (Idhu enna?) – What is this?
    7. இது ஒரு புத்தகம். (Idhu oru puthagam) – This is a book.
    8. நீ எங்கே போகிறாய்? (Nee engae pogirai?) – Where are you going?
    9. நான் வீட்டிற்கு செல்கிறேன். (Naan veetirku selgiren) – I am going home.
    10. உனக்கு என்ன வேண்டும்? (Unakku enna vendum?) – What do you want?
    11. தண்ணீர் குடிக்க வேண்டும். (Thanneer kudikka vendum) – I need to drink water.
    12. விளையாட விரும்புகிறேன். (Vilaiyada virumbugiren) – I want to play.
    13. வாசல் மூடு. (Vaasal moodu) – Close the door.
    14. விளக்கை ஏற்று. (Vilakkai aatru) – Switch on the light.
    15. சாளரம் திற. (Saalaram thira) – Open the window.
    16. நீ நேரம் பார்த்தாயா? (Nee neram paarthaya?) – Did you check the time?
    17. நேரம் எப்போது? (Neram eppodhu?) – What time is it?
    18. இது எப்போ நடைபெறும்? (Idhu eppo nadayum?) – When will this happen?
    19. நான் அப்போது சொல்கிறேன். (Naan appodhu solgiren) – I will tell you later.
    20. நீ தயாராக உள்ளாயா? (Nee thayaaraga ullaya?) – Are you ready?
    21. உணவு சாப்பிட்டாயா? (Unavu saapittaya?) – Did you eat?
    22. நான் சாப்பிட விரும்புகிறேன். (Naan saapida virumbugiren) – I want to eat.
    23. இது சுவையான உணவு. (Idhu suvaiyana unavu) – This is tasty food.
    24. தண்ணீர் கொடுங்கள். (Thanneer kodungal) – Please give me water.
    25. குளிர்ந்த நீர் வேண்டும். (Kulirntha neer vendum) – I need cold water.
    26. பள்ளி எப்போ தொடங்கும்? (Palli eppo thodangum?) – When does school start?
    27. நான் என்னுடைய பாடங்களை எழுதுகிறேன். (Naan ennudaiya paadangalai ezhuthukiren) – I am writing my lessons.
    28. ஆசிரியர் வருகையைச் சரிபார்த்தார். (Aasiriyar varugaiyai sariparthar) – The teacher checked the attendance.
    29. மாணவர்கள் கவனமாக இருக்க வேண்டும். (Maanavargal kavanamaga irukka vendum) – Students must be attentive.
    30. நான் பாடம் படிக்க வேண்டும். (Naan paadam padikka vendum) – I need to study.
    31. இது என் அப்பா. (Idhu en appa) – This is my father.
    32. என் அம்மா சமையல் செய்கிறார். (En amma samayal seygiraal) – My mother is cooking.
    33. தம்பி விளையாடுகிறான். (Thambi vilaiyadugiraan) – My brother is playing.
    34. அக்கா பாடம் படிக்கிறாள். (Akka paadam padikkiraal) – My sister is studying.
    35. என் அண்ணன் வேலைக்கு சென்றார். (En annan velaikku sendraar) – My elder brother went to work.
    36. நண்பர்கள் சந்திக்கிறார்கள். (Nanbargal sandikkirargal) – Friends are meeting.
    37. அவன் என் நண்பன். (Avan en nanban) – He is my friend.
    38. நாங்கள் ஒன்றாக விளையாடுகிறோம். (Naangal ondraga vilaiyadugiroam) – We are playing together.
    39. என் நண்பருக்கு புத்தகம் வேண்டும். (En nanbarukku puthagam vendum) – My friend needs a book.
    40. நான் உனது உதவியை மதிக்கிறேன். (Naan unathu udhaviyai mathikkiren) – I appreciate your help.
    41. நான் சந்தோஷமாக இருக்கிறேன். (Naan santhoshamaaga irukkiren) – I am happy.
    42. எனக்கு சிறிது சோர்வு உள்ளது. (Enakku siridhu sorvu ulladhu) – I am feeling a little tired.
    43. நான் மிகவும் கோபமாக உள்ளேன். (Naan migavum kobamaaga ullen) – I am very angry.
    44. உனக்கு என்ன உணர்வு? (Unakku enna unarvu?) – What do you feel?
    45. எனக்கு பயமாக உள்ளது. (Enakku bayaamaaga ulladhu) – I am scared.
    46. வெளியில் மழை பெய்கிறது. (Veliyil mazhaip peigiradhu) – It is raining outside.
    47. இன்று சூரியன் பிரகாசமாக உள்ளது. (Indru suriyan pirakaasamaaga ulladhu) – The sun is shining today.
    48. இதற்குள் பனி இருக்கும். (Idharkul pani irukkum) – It might snow here.
    49. காலநிலை மிகவும் சூடாக உள்ளது. (Kaalanilai migavum soodaga ulladhu) – The weather is very hot.
    50. மழை எப்போது நிறுக்கும்? (Mazhai eppo nirukkum?) – When will the rain stop?
    51. நான் விளையாடச் செல்கிறேன். (Naan vilaiyada selgiren) – I am going to play.
    52. நீ எப்போது திரும்பி வருவாய்? (Nee eppo thirumbi varuvai?) – When will you return?
    53. நான் திரும்ப வருகிறேன். (Naan thirumbi varugiren) – I am coming back.
    54. கடைக்கு செல்வாயா? (Kadaikku selvaya?) – Will you go to the shop?
    55. நான் பழங்கள் வாங்க விரும்புகிறேன். (Naan pazhangal vaanga virumbugiren) – I want to buy fruits.
    56. இது எவ்வளவு செலவாகும்? (Idhu evvalavu selvagum?) – How much does this cost?
    57. தயவுசெய்து சலுகை கொடுங்கள். (Thayavu seidhu salugai kodungal) – Please give a discount.
    58. நான் பணம் செலுத்துகிறேன். (Naan panam seluthugiren) – I will pay the money.
    59. நீ எனக்கு உதவ முடியுமா? (Nee enakku udhava mudiyuma?) – Can you help me?
    60. உங்களுடைய உதவி மிக மதிப்பாக இருக்கிறது. (Ungaludaiya udhavi miga mathippaga irukkiradhu) – Your help is very valuable.
    61. நான் உங்களுக்கு ஒரு செய்தி சொல்ல விரும்புகிறேன். (Naan ungalukku oru seidhi solla virumbugiren) – I want to tell you something.
    62. என்னுடைய கனவு மிகப் பெரியது. (Ennudaiya kanavu migap periyadhu) – My dream is very big.
    63. எனக்கு ஒரு நல்ல வேலை தேவை. (Enakku oru nalla velai thevai) – I need a good job.
    64. உனக்கு வெற்றி கிடைக்கும். (Unakku vettri kidaikkum) – You will succeed.
    65. நம்பிக்கையை இழக்காதே. (Nambikkaiyai izhakadhe) – Don’t lose hope.
    66. நான் சரியாக இருக்கிறேன். (Naan sariyaga irukkiren) – I am fine.
    67. எனக்கு ஒரு விலங்கு விரும்புகிறது. (Enakku oru vilangu virumbugiradhu) – I like an animal.
    68. இது என்னுடைய நாய். (Idhu ennudaiya naai) – This is my dog.
    69. என்னுடைய பூனை அழகாக உள்ளது. (Ennudaiya poonai azhagaaga ulladhu) – My cat is beautiful.
    70. நாங்கள் பறவைகளை பார்க்கிறோம். (Naangal paravaigalai paarkkiraom) – We are watching birds.
    71. இந்த படத்தை உனக்கு பிடிக்குமா? (Indha padathai unakku pidikkuma?) – Do you like this picture?
    72. படம் மிகவும் அழகாக உள்ளது. (Padam migavum azhagaaga ulladhu) – The picture is very beautiful.
    73. இந்த மரம் பெரியது. (Indha maram periyadhu) – This tree is big.
    74. மலர்கள் குளிர்ச்சியாக உள்ளது. (Malargal kulirchiyaga ulladhu) – The flowers are fresh.
    75. நதியின் நீர் தெளிவாக உள்ளது. (Nadhiyin neer thelivaga ulladhu) – The river water is clear.
    76. நான் ஒரு பாடல் பாடுகிறேன். (Naan oru paadal paadugiren) – I am singing a song.
    77. நீ என்னுடைய குரலை கேள்கிறாயா? (Nee ennudaiya kuralai kaelgiraaya?) – Can you hear my voice?
    78. இந்த இசை மிகவும் இனிமையாக உள்ளது. (Indha isai migavum inimaiyaga ulladhu) – This music is very pleasant.
    79. அவன் மெல்ல சித்திரம் வரைகிறான். (Avan mella chithiram varaikiraan) – He is slowly drawing a picture.
    80. நான் புத்தகத்தை படிக்கிறேன். (Naan puthagathai padikkiren) – I am reading the book.
    81. நான் கணினியில் வேலை செய்கிறேன். (Naan kaniniyil velai seygiren) – I am working on the computer.
    82. உனக்கு கணினி பற்றி தெரியும். (Unakku kanini patri theriyum) – Do you know about computers?
    83. இந்த கணினி புதியது. (Indha kanini puthiyadhu) – This computer is new.
    84. நான் இணையத்தில் தேடுகிறேன். (Naan inaiyathil theadugiren) – I am searching on the internet.
    85. மென்பொருள் சரியாக வேலை செய்கிறது. (Menporul sariyaga velai seigiradhu) – The software is working fine.
    86. எனக்கு விளையாட்டுகள் பிடிக்கும். (Enakku vilaiyaattugal pidikkum) – I like games.
    87. நான் கால் பந்து விளையாடுகிறேன். (Naan kaal pandu vilaiyadugiren) – I play football.
    88. நீ டென்னிஸ் விளையாட வேண்டுமா? (Nee tennis vilaiyada venduma?) – Do you want to play tennis?
    89. அவன் கிரிக்கெட்டில் மிகவும் திறமையாக இருக்கிறான். (Avan cricketil migavum thiramaiyaga irukkiraan) – He is very talented in cricket.
    90. விளையாட்டு சுவாரசியமாக இருந்தது. (Vilaiyaattu suvarasiyamaaga irundhadhu) – The game was interesting.
    91. நான் புத்தகங்களை வாங்க விரும்புகிறேன். (Naan puthagangalai vaanga virumbugiren) – I want to buy books.
    92. நீங்கள் என்னை சந்திக்க விரும்புகிறீர்களா? (Neengal ennai sandhikka virumbugireergala?) – Do you want to meet me?
    93. நான் நாளை வருகிறேன். (Naan naalai varugiren) – I will come tomorrow.
    94. உன் நண்பர் எங்கே இருக்கிறான்? (Un nanbar engae irukkiraan?) – Where is your friend?
    95. அவன் வீட்டில் இல்லை. (Avan veetil illai) – He is not at home.
    96. நீங்கள் காத்திருக்க வேண்டும். (Neengal kaathirukka vendum) – You need to wait.
    97. நான் காத்திருக்கிறேன். (Naan kaathirukkiren) – I am waiting.
    98. இன்று என்னுடைய பிறந்த நாள். (Indru ennudaiya pirandha naal) – Today is my birthday.
    99. நான் சந்தோஷமாக கொண்டாடுகிறேன். (Naan santhoshamaaga kondadugiren) – I am celebrating happily.
    100. வாழ்த்துக்களுக்கு நன்றி! (Vazhthukkalukkaga nandri!) – Thank you for the wishes!
  • Learn Python in Tamil | Python Basics | How to use Conditional Statements if ,elif, else

    More Examples :

    1. Basic if-else Statement:

    number = 10
    if number > 5:
     print("The number is greater than 5.")
    else:
     print("The number is 5 or less.")

    2. Multiple Conditions with elif:

    marks = 85
    if marks >= 90:
        print("Grade: A")
    elif marks >= 75:
        print("Grade: B")
    elif marks >= 50:
        print("Grade: C")
    else:
        print("Grade: F")

    3. Nested if Statements:

    age = 25
    if age >= 18:
        if age >= 21:
            print("Eligible for a full license.")
        else:
            print("Eligible for a provisional license.")
    else:
        print("Not eligible for a license.")
    

    4. Using Logical Operators:

    score = 85
    attendance = 90
    if score > 80 and attendance > 85:
        print("You passed with good standing!")

    5. Error Handling with Conditionals:

    try:
        age = int(input("Enter your age: "))
        if age >= 18:
            print("You are eligible to vote.")
        else:
            print("You are not eligible to vote.")
    except ValueError:
        print("Please enter a valid number.")