Login
Remember
Register
All Courses
Ask a Question
Questions
Unanswered
Ask a Question
Blog
Tutorials
Interview Questions
Back
Login
Explore Courses
Blog
Tutorials
Interview Questions
community
Python
Write a new recursive function countup that...
Write a new recursive function countup that expects a negative argument and counts “up” from that number. Output from running the function should look something like this: >>> countup(-3) -3 -2 -1 Blastoff!
Write a new recursive function countup that expects a negative argument and counts “up” from that number. Output from running the function should look something like this: >>> countup(-3) -3 -2 -1 Blastoff!
0
votes
4
views
asked
Jun 24, 2021
in
Python
by
Don
(
160
points)
edited
Jul 7, 2021
by
dev_sk2311
Could someone tell me how to write a new recursive function countup that expects a negative argument and counts “up” from that number. Output from running the function should look something like this: >>> countup(-3) -3 -2 -1 Blastoff!
python
Please
log in
to add a comment.
Please
log in
to answer this question.
0
Answers
Related questions
0
votes
0
answers
You can use a minus sign to make a negative number like -2. What happens for each of the following? >>> 2++2 >>> 2--2 >>> 2+-2 >>> 2-+2
asked
Jun 24, 2021
in
Python
by
Don
(
160
points)
0
votes
0
answers
I'm new to python and need help with this issue. I'm trying to make a program that can just take a string and replace $foo$ with a given string, s. Then you could convert that to a function. Then you could generalize it to handle multiple variables.
asked
Dec 31, 2020
in
Python
by
michael74766
(
120
points)
python
0
votes
1
answer
How does the role of a Database Expert differ from that of an HR Recruiter, and what new responsibilities should someone expect when making this transition?
asked
Sep 16, 2023
in
SQL
by
vyeshma
(
32.8k
points)
sql
database
31k
questions
32.8k
answers
501
comments
693
users
All categories
Python
(3.4k)
Java
(2.2k)
SQL
(1.6k)
Linux
(373)
Big Data Hadoop & Spark
(1.3k)
Data Science
(3.3k)
R Programming
(867)
C Programming
(35)
DevOps and Agile
(2.9k)
Docker
(61)
AI and Deep Learning
(1.4k)
Machine Learning
(1.2k)
AWS
(2.5k)
Azure
(1.6k)
GCP
(226)
RPA
(616)
Selenium
(212)
Software Testing
(59)
Blockchain
(436)
Salesforce
(823)
Others
(585)
BI
(1.9k)
IoT
(24)
Web Technology
(1.5k)
Cyber Security
(359)
Digital Marketing
(331)
Technology Trends
(121)
SEO
(105)
Informatica
(22)
UI UX
(153)
Electric Vehicle
(24)
Investment Banking
(56)
Supply Chain Management
(30)
...