Explore more about eval here:
https://docs.python.org/3/library/fun...
https://towardsdatascience.com/python...
To convert the string into a numerical value use the function
eval(string )
Test the following :
a=eval(input());
type(a)
Give a as 16 & check whether eval is converting input to a proper numeric datatype or not.
Give a as 16.32 & check whether eval is converting a to proper numeric datatype or not.
Python for beginners:
https://www.youtube.com/watch?v=egq7Z...
Thursday, 7 May 2020
Popular Posts
-
Machine learning is often described through algorithms, datasets, and programming frameworks. However, behind many of the most important t...
-
In statistics, data science, machine learning, and artificial intelligence, we often have to make decisions when we do not have complete i...
-
Deep Learning Methods of Mathematical Physics: Volume I – A Comprehensive Guide to AI for Direct and Inverse Problems Introduction Artific...
-
97 Things Every Programmer Should Know: Collective Wisdom from the Experts Programming is often taught through syntax, algorithms, framework...
-
Statistics is one of the most powerful tools for understanding data, but it can also be misunderstood and misused. A statistical result may ...
-
If you're learning Python or looking to level up your skills, you’re in luck! Here are 6 amazing Python books available for FREE — c...
-
Introduction Probability is the mathematical language of uncertainty. Whether predicting weather conditions, analyzing financial markets, de...
-
Production Machine Learning Systems: A Deep Theoretical Guide Introduction Machine learning is often introduced as the process of collecti...
-
Data science is often presented as a combination of programming, statistics, and machine learning. However, beneath many of the algorithms...
-
Deep Learning on Graphs: A Complete Guide to Graph Neural Networks, Graph Representation Learning, and Real-World AI Applications Introduc...
Categories
100 Python Programs for Beginner
(119)
AI
(339)
Android
(25)
AngularJS
(1)
Api
(7)
Assembly Language
(2)
aws
(31)
Azure
(12)
BI
(10)
book
(1)
Books
(340)
Bootcamp
(14)
C
(78)
C#
(12)
C++
(83)
cloud
(1)
Course
(89)
Coursera
(302)
Cybersecurity
(36)
data
(10)
Data Analysis
(46)
Data Analytics
(31)
data management
(16)
Data Science
(421)
Data Strucures
(18)
Deep Learning
(216)
Django
(16)
Downloads
(3)
edx
(21)
Engineering
(15)
Euron
(30)
Events
(7)
Excel
(24)
Finance
(13)
flask
(4)
flutter
(1)
FPL
(17)
Generative AI
(77)
Git
(13)
Google
(54)
Hadoop
(3)
HTML Quiz
(1)
HTML&CSS
(48)
IBM
(43)
IoT
(3)
IS
(25)
Java
(99)
Leet Code
(4)
Machine Learning
(388)
Meta
(24)
MICHIGAN
(5)
microsoft
(13)
Nvidia
(8)
Pandas
(16)
PHP
(20)
Projects
(34)
Python
(1362)
Python Coding Challenge
(1223)
Python Library
(1)
Python Mathematics
(13)
Python Mistakes
(51)
Python Quiz
(609)
Python Tips
(101)
Questions
(3)
R
(72)
React
(7)
Scripting
(3)
security
(4)
Selenium Webdriver
(4)
Software
(21)
SQL
(55)
Udemy
(20)
UX Research
(1)
web application
(11)
Web development
(9)
web scraping
(3)

0 Comments:
Post a Comment