{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Using string methods{#exr-string-methods}\n", "\n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We have written a function to compute the reverse complement of a sequence.\n", "\n", "**a)** Write that function again, still using a `for` loop, but do not use the built-in `reversed()` function.\n", "\n", "**b)** Write the function one more time, but without any loops." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
" ] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.5" } }, "nbformat": 4, "nbformat_minor": 4 }