Created
August 3, 2021 08:25
-
-
Save isaiah7p/0cdd91957aba0bc2bea2ba41b1004bd6 to your computer and use it in GitHub Desktop.
Python Assignments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ex1 : Phone number Validation | |
Rule 1) 10 digit number | |
Rule 2) First number should be between 6-9 | |
----------------------------------------------------------------------------- | |
Ex2 : Remove Zeros from the stream of numbers | |
3123213100031231230231321300354350077700 | |
----------------------------------------------------------------------------- | |
Ex3 : Fibinocci series Up to a given number | |
----------------------------------------------------------------------------- | |
Ex4 : | |
----------------------------------------------------------------------------- | |
Input String | |
~00D0340;0;0;00000;0069;000;0273;;027;100 | |
Labeling : | |
"runtime" : 69 , "batvoltage":27.3,"upstemp":27,"batpercentage":100 | |
Expected OutPut : | |
{ | |
"runtime" : 69, | |
"batvoltage": 27.3, | |
"upstemp": 27, | |
"batpercentage": 100 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment