Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A faultless table or diagram is necessary. Please offer a perfect solution at once. BM 1 0 V Pythonu ustvarite program, ki bo seznam

A faultless table or diagram is necessary. Please offer a perfect solution at once.
BM10
"V Pythonu ustvarite program, ki bo seznam nizov pretvoril v tevilski seznam
Vsa izvedena logika mora biti v funkciji main().
Lahko trdo kodirate seznam nizov ALI prosite uporabnika, da z vnosom vnese vrsto tevilk in vnos pripne seznamu
. Uporabniku se v terminalu prikae seznam tevil (float ali int). Napisati morate loeno funkcijo, imenovano convertToNumbers(strList): convertToNumbers(strList) bo vrnila spremenjeno razliico podanega seznama, kjer je vsak element niza pretvorjen v tevilsko razliico. Noben poziv za vnos uporabnika ne bo vkljuen v convertToNumbers(strList) Noben klic print() ne bo vkljuen v convertToNumbers(strList)
eval() ni dovoljeno uporabljati. Uporabiti morate eksplicitno pretvorbo tipa v numerini podatkovni tip."

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions