Giter Club home page Giter Club logo

learning-python-'s Introduction

  • Hi, there, i'm Gunasekhar!๐Ÿ‘‹
  • ๐Ÿ‘€ Iโ€™m interested in Java, Spring Boot, Rest API's, Microservices and AWS
  • ๐ŸŒฑ Iโ€™m currently learning GitHub, Jenkins, Docker, Kubernaties, Terraform, Ubuntu, AWS cloud, Python, Java, SpringBoot
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on open source projects.
  • ๐Ÿ“ซ How to reach me through email :- [email protected]

learning-python-'s People

Contributors

guna7222 avatar thrilokk avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sumajali

learning-python-'s Issues

Run time error

Runtime Error!

avaliable_menu = "enter 'a' to add a movie, enter 'l' to list a movie, enter 'f' to find the movie:- "
movies = []

def add_movies():
title = input("enter a movie name:- ")
rating = int(input("enter a movie rating:- "))
ticket_price = int(input("enter the ticket price:- "))
movie_hero = input("enter a movie hero name:- ")

movies.append({
    "title":title,
    "rating":rating,
    "ticket_price":ticket_price,
    "movie_hero":movie_hero
})

def listing_movies():
for movie in movies:
print(movie)

def finding_movies():
find_movie = input("enter a movie name to find:- ")
if movie in movies:
if movie["title"] == find_movie:
print(movie)

menu_prompt = input(avaliable_menu)
while menu_prompt != 'q':
if menu_prompt == 'a':
add_movies()
elif menu_prompt == 'l':
listing_movies()
elif menu_prompt == 'f':
finding_movies()

else:
    print("sorry for inconvinence, kindly recheck the values that are entered:) ")

Double lettes

Double letters
The goal of this challenge is to analyze a string to check if it contains two of the same letter in a row. For example, the string "hello" has l twice in a row, while the string "nono" does not have two identical letters in a row.

Define a function named double_letters that takes a single parameter. The parameter is a string. Your function must return True if there are two identical letters in a row in the string, and False otherwise.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.